Install Victoria Metrics
All checks were successful
dustin/metricspi/pipeline/head This commit looks good
All checks were successful
dustin/metricspi/pipeline/head This commit looks good
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.
This commit is contained in:
4
package/victoriametrics/Config.in
Normal file
4
package/victoriametrics/Config.in
Normal file
@@ -0,0 +1,4 @@
|
||||
config BR2_PACKAGE_VICTORIAMETRICS
|
||||
bool "victoriametrics"
|
||||
help
|
||||
Victoria Metrics
|
||||
11
package/victoriametrics/victoriametrics.mk
Normal file
11
package/victoriametrics/victoriametrics.mk
Normal 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))
|
||||
Reference in New Issue
Block a user