GoogleCloudPlatform / GoogleCloudPlatform/prometheus-engine

Honor labels option

Open
#215 9 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
232
Forks
109
Avg merge
1d 3h
Merged PRs (30d)
27

Description

Hello,

I am trying to scrape pushgateway using PodMonitoring object. In general it works but it does relabel `job` and `instance` labels.

To prevent relabeling, [one can specify](https://github.com/prometheus/pushgateway#about-the-job-and-instance-labels) `honor_labels: true` in scrape config but this is currently not possible with PodMonitoring object.

Can you please add an option to enable configuration of `honor_labels`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.