mtail icon indicating copy to clipboard operation
mtail copied to clipboard

Switch off standart mtail metric

Open a-illiushchenia opened this issue 6 years ago • 1 comments

Hello! Could you tell me how can I switch off standart metric? For example: go_gc_duration_seconds{quantile="0"} 3.2901e-05 go_gc_duration_seconds{quantile="0.25"} 3.2901e-05 go_gc_duration_seconds{quantile="0.5"} 0.000144896 go_gc_duration_seconds{quantile="0.75"} 0.000144896 go_gc_duration_seconds{quantile="1"} 0.000144896 go_gc_duration_seconds_sum 0.000177797 go_gc_duration_seconds_count 2 In Prometheus I need only my metric, witch set in *.mtail program.

a-illiushchenia avatar Aug 27 '19 09:08 a-illiushchenia

You can tell Prometheus to only scrape certain metrics from a target.

jaqx0r avatar Mar 20 '21 06:03 jaqx0r