Install Victoria Metrics
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
Dustin 2022-06-23 10:59:07 -05:00
parent 4dddea5a99
commit 2befb681c7
5 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1 @@
source "$BR2_EXTERNAL_metricspi_PATH/package/victoriametrics/Config.in"

View File

@ -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

View File

@ -0,0 +1 @@
include $(sort $(wildcard $(BR2_EXTERNAL_metricspi_PATH)/package/*/*.mk))

View File

@ -0,0 +1,4 @@
config BR2_PACKAGE_VICTORIAMETRICS
bool "victoriametrics"
help
Victoria Metrics

View File

@ -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))