I'm using prometheus-operator's addionalScrapeConfigs 
<https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/additional-scrape-config.md>
 to 
add metric drop rules. Example:

```
- job_name: drop_response_metrics 
  honor_timestamps: true 
  scrape_interval: 30s 
  scrape_timeout: 10s 
  metrics_path: /metrics 
  scheme: http 
  follow_redirects: true 
  metric_relabel_configs: 
  - source_labels: [__name__] 
    separator: ; 
    regex: 
(response_total|response_latency_ms_count|response_latency_ms_sum) 
    replacement: $1 
    action: drop
```

The config is successfully loaded to prometheus and I can view it in 
`/config` endpoint. But for some reason I still can see the metrics. can 
you let me know what to do?

-- 
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/c3022060-ca85-4fe7-a6d7-e124653d3ec2n%40googlegroups.com.

Reply via email to