Install Victoria Metrics
dustin/metricspi/pipeline/head This commit looks good
Details
dustin/metricspi/pipeline/head This commit looks good
Details
Victoria Metrics is not available by default with Buildroot, but adding a package description for it is very straightforward. The flags and tags are specified within Victoria Metrics's own Makefile.pull/2/head
parent
4dddea5a99
commit
2befb681c7
|
@ -0,0 +1 @@
|
|||
source "$BR2_EXTERNAL_metricspi_PATH/package/victoriametrics/Config.in"
|
|
@ -86,3 +86,4 @@ BR2_PACKAGE_UTIL_LINUX_SULOGIN=y
|
|||
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_PACKAGE_VICTORIAMETRICS=y
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
include $(sort $(wildcard $(BR2_EXTERNAL_metricspi_PATH)/package/*/*.mk))
|
|
@ -0,0 +1,4 @@
|
|||
config BR2_PACKAGE_VICTORIAMETRICS
|
||||
bool "victoriametrics"
|
||||
help
|
||||
Victoria Metrics
|
|
@ -0,0 +1,11 @@
|
|||
VICTORIAMETRICS_VERSION = 1.78.0
|
||||
VICTORIAMETRICS_SITE = $(call github,VictoriaMetrics,VictoriaMetrics,v$(VICTORIAMETRICS_VERSION))
|
||||
VICTORIAMETRICS_LICENSE = Apache-2.0
|
||||
VICTORIAMETRICS_LICENSE_FILES = LICENSE
|
||||
|
||||
VICTORIAMETRICS_BUILD_TARGETS = app/victoria-metrics
|
||||
VICTORIAMETRICS_LDFLAGS = -extldflags '-static'
|
||||
VICTORIAMETRICS_TAGS = netgo osusergo nethttpomithttp2 musl
|
||||
VICTORIAMETRICS_INSTALL_BINS = victoria-metrics
|
||||
|
||||
$(eval $(golang-package))
|
Loading…
Reference in New Issue