On 03.03.21 02:49, [email protected] wrote: > > we have tried with below regex pattern to drop all the metrics as below - > > http_request_duration_seconds_bucket > > we have tried below 2 regex patterns, but none of them helped > > metric_relabel_configs: > - source_labels: [__name__] > regex: (.+)_bucket and .*_bucket > action: drop
Either should work. Perhaps you have added this section to the wrong scrape config? -- Björn Rabenstein [PGP-ID] 0x851C3DA17D748D03 [email] [email protected] -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/20210305133816.GL2704%40jahnn.

