Add Grafana, AlertManager, vmutils
The *vmutils* package can be built from source easily, as its just a collection of Go applications. Grafana and Alertmanager are quite a bit more complicated because of their respective browser applications. In the interest of getting this project actually going, we'll just install the official binary releases of these (for now?).
This commit is contained in:
57
package/vmutils/Config.in
Normal file
57
package/vmutils/Config.in
Normal file
@@ -0,0 +1,57 @@
|
||||
menuconfig BR2_PACKAGE_VMUTILS
|
||||
bool "vmutils"
|
||||
help
|
||||
Victoria Metrics utilities
|
||||
|
||||
if BR2_PACKAGE_VMUTILS
|
||||
|
||||
config BR2_PACKAGE_VMUTILS_VMAGENT
|
||||
bool "vmagent"
|
||||
help
|
||||
vmagent is a tiny but mighty agent which helps you collect metrics
|
||||
from various sources and store them in VictoriaMetrics or any other
|
||||
Prometheus-compatible storage systems that support the remote_write
|
||||
protocol.
|
||||
|
||||
config BR2_PACKAGE_VMUTILS_VMALERT
|
||||
bool "vmalert"
|
||||
help
|
||||
vmalert executes a list of the given alerting or recording rules
|
||||
against configured -datasource.url. For sending alerting
|
||||
notifications vmalert relies on Alertmanager configured via
|
||||
-notifier.url flag. Recording rules results are persisted via remote
|
||||
write protocol and require -remoteWrite.url to be configured. Vmalert
|
||||
is heavily inspired by Prometheus implementation and aims to be
|
||||
compatible with its syntax.
|
||||
|
||||
config BR2_PACKAGE_VMUTILS_VMAUTH
|
||||
bool "vmauth"
|
||||
help
|
||||
vmauth is a simple auth proxy, router and load balancer for
|
||||
VictoriaMetrics. It reads auth credentials from Authorization http
|
||||
header (Basic Auth, Bearer token and InfluxDB authorization is
|
||||
supported), matches them against configs pointed by -auth.config
|
||||
command-line flag and proxies incoming HTTP requests to the
|
||||
configured per-user url_prefix on successful match. The -auth.config
|
||||
can point to either local file or to http url.
|
||||
|
||||
config BR2_PACKAGE_VMUTILS_VMBACKUP
|
||||
bool "vmbackup"
|
||||
help
|
||||
vmbackup creates VictoriaMetrics data backups from instant snapshots.
|
||||
|
||||
config BR2_PACKAGE_VMUTILS_VMRESTORE
|
||||
bool "vmrestore"
|
||||
help
|
||||
vmrestore restores data from backups created by vmbackup.
|
||||
VictoriaMetrics v1.29.0 and newer versions must be used for working
|
||||
with the restored data.
|
||||
|
||||
config BR2_PACKAGE_VMUTILS_VMCTL
|
||||
bool "vmctl"
|
||||
help
|
||||
VictoriaMetrics command-line tool
|
||||
|
||||
vmctl provides various useful actions with VictoriaMetrics components.
|
||||
|
||||
endif
|
||||
39
package/vmutils/vmutils.mk
Normal file
39
package/vmutils/vmutils.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
VMUTILS_VERSION = 1.78.0
|
||||
VMUTILS_SITE = $(call github,VictoriaMetrics,VictoriaMetrics,v$(VMUTILS_VERSION))
|
||||
VMUTILS_LICENSE = Apache-2.0
|
||||
VMUTILS_LICENSE_FILES = LICENSE
|
||||
|
||||
VMUTILS_LDFLAGS = -extldflags '-static'
|
||||
VMUTILS_TAGS = netgo osusergo nethttpomithttp2 musl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_VMUTILS_VMAGENT),y)
|
||||
VMUTILS_BUILD_TARGETS += app/vmagent
|
||||
VMUTILS_INSTALL_BINS += vmagent
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_VMUTILS_VMALERT),y)
|
||||
VMUTILS_BUILD_TARGETS += app/vmalert
|
||||
VMUTILS_INSTALL_BINS += vmalert
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_VMUTILS_VMAUTH),y)
|
||||
VMUTILS_BUILD_TARGETS += app/vmauth
|
||||
VMUTILS_INSTALL_BINS += vmauth
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_VMUTILS_VMBACKUP),y)
|
||||
VMUTILS_BUILD_TARGETS += app/vmbackup
|
||||
VMUTILS_INSTALL_BINS += vmbackup
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_VMUTILS_VMRESTORE),y)
|
||||
VMUTILS_BUILD_TARGETS += app/vmrestore
|
||||
VMUTILS_INSTALL_BINS += vmrestore
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_VMUTILS_VMCTL),y)
|
||||
VMUTILS_BUILD_TARGETS += app/vmctl
|
||||
VMUTILS_INSTALL_BINS += vmctl
|
||||
endif
|
||||
|
||||
$(eval $(golang-package))
|
||||
Reference in New Issue
Block a user