feat: add victoria metrics
Build / build-8 (pull_request) Successful in 57s
Build / build-9 (pull_request) Successful in 1m20s

- vminsert, vmselect and vmstorage
- vmutils
This commit is contained in:
2025-06-21 17:37:58 +10:00
parent dd71972af0
commit 9b755a05dc
9 changed files with 243 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/bash
nfpm pkg --config /app/resources/vminsert.yaml --target /app/dist --packager rpm
nfpm pkg --config /app/resources/vmselect.yaml --target /app/dist --packager rpm
nfpm pkg --config /app/resources/vmstorage.yaml --target /app/dist --packager rpm
@@ -0,0 +1,37 @@
# nfpm.yaml
name: vminsert
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "vminsert accepts data via popular data ingestion protocols and routes it to vmstorage nodes"
maintainer: VictoriaMetrics
homepage: https://github.com/VictoriaMetrics/VictoriaMetrics
license: Apache-2.0 license
disable_globbing: false
replaces:
- vminsert
provides:
- vminsert
# Files to include in the package
contents:
- src: /app/vminsert-prod
dst: /usr/bin/vminsert
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh
@@ -0,0 +1,37 @@
# nfpm.yaml
name: vmselect
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "vmselect processes incoming queries by fetching the requested data from vmstorage nodes"
maintainer: VictoriaMetrics
homepage: https://github.com/VictoriaMetrics/VictoriaMetrics
license: Apache-2.0 license
disable_globbing: false
replaces:
- vmselect
provides:
- vmselect
# Files to include in the package
contents:
- src: /app/vmselect-prod
dst: /usr/bin/vmselect
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh
@@ -0,0 +1,37 @@
# nfpm.yaml
name: vmstorage
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "vmstorage stores time series data obtained from vminsert and returns the requested data to vmselect"
maintainer: VictoriaMetrics
homepage: https://github.com/VictoriaMetrics/VictoriaMetrics
license: Apache-2.0 license
disable_globbing: false
replaces:
- vmstorage
provides:
- vmstorage
# Files to include in the package
contents:
- src: /app/vmstorage-prod
dst: /usr/bin/vmstorage
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh