1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
rpc: listen: tcp://127.0.0.1:6001 metrics: # prometheus client address (path /metrics added automatically) address: localhost:2112 collect: app_metric: type: histogram help: "Custom application metric" labels: [ "type" ] buckets: [ 0.1, 0.2, 0.3, 1.0 ] app_metric_counter: type: counter help: "Custom application counter." logs: mode: development level: error