Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

prometheus add prefix to metrics

    metric_relabel_configs:
    - source_labels: [__name__]
      regex: '(.*)'
      replacement: 'snmp_${1}'
      target_label: __name__
Source by github.com #
 
PREVIOUS NEXT
Tagged: #prometheus #add #prefix #metrics
ADD COMMENT
Topic
Name
5+2 =