forked from TrueCloudLab/frostfs-node
[#551] Add vmagent in neofs-storage testnet image
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>support/v0.27
parent
5ee7d7efcb
commit
4190383341
|
@ -30,6 +30,10 @@ node:
|
||||||
key: /node.key
|
key: /node.key
|
||||||
attribute_0: Deployed:SelfHosted
|
attribute_0: Deployed:SelfHosted
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
address: 127.0.0.1:9090
|
||||||
|
shutdown_timeout: 15s
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
shard_num: 1
|
shard_num: 1
|
||||||
shard:
|
shard:
|
||||||
|
|
|
@ -17,5 +17,16 @@ services:
|
||||||
- <NEOFS_NODE_ATTRIBUTE_1>=UN-LOCODE:<XX YYY>
|
- <NEOFS_NODE_ATTRIBUTE_1>=UN-LOCODE:<XX YYY>
|
||||||
- NEOFS_NODE_ATTRIBUTE_2=Price:100000
|
- NEOFS_NODE_ATTRIBUTE_2=Price:100000
|
||||||
|
|
||||||
|
vmagent:
|
||||||
|
image: victoriametrics/vmagent:v1.61.0
|
||||||
|
container_name: vmagent
|
||||||
|
command:
|
||||||
|
- '--promscrape.config=/configs/prometheus.yml'
|
||||||
|
- '--remoteWrite.url=https://collector.fs.neo.org:8429/api/v1/write'
|
||||||
|
network_mode: host
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./prometheus.yml:/configs/prometheus.yml
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
neofs_storage:
|
neofs_storage:
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
global:
|
||||||
|
scrape_interval: 15s
|
||||||
|
external_labels:
|
||||||
|
monitor: 'user_metrics'
|
||||||
|
|
||||||
|
scrape_configs:
|
||||||
|
- job_name: 'neofs-node-user'
|
||||||
|
scrape_interval: 5s
|
||||||
|
static_configs:
|
||||||
|
- targets: ['127.0.0.1:9090']
|
Loading…
Reference in New Issue