frostfs-node/config/testnet/prometheus.yml
Sergio Nemirowski a4587dbcd4 [#88] Add relabel for instance
Signed-off-by: Sergio Nemirowski <sergio@nspcc.ru>
2021-06-17 15:47:11 +03:00

13 lines
306 B
YAML

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']
relabel_configs:
- target_label: 'instance'
replacement: "%{NEOFS_NODE_ADDRESS}"