Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: Relabel pod reference into instance label #135

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

brancz
Copy link
Member

@brancz brancz commented Jul 3, 2020

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

The instance label is univesally used to refer to an instance in
alerting rules and dashboards. To make it easy to identify in a
Kubernetes environment it's most useful to relabel an identifier of the
pod into the instance label.

Do you think this needs a changelog entry?

Verification

Asking @metalmatze to apply this to a cluster as I'm opening this PR :)

@thanos-io/thanos-maintainers

The instance label is univesally used to refer to an instance in
alerting rules and dashboards. To make it easy to identify in a
Kubernetes environment it's most useful to relabel an identifier of the
pod into the instance label.

Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
@metalmatze
Copy link
Contributor

Before:
Screenshot from 2020-07-03 12-35-39

After:
Screenshot from 2020-07-03 12-38-10

@brancz
Copy link
Member Author

brancz commented Jul 3, 2020

Amazing 💯 thank you! So it works as expected :)

@brancz brancz merged commit c070408 into master Jul 3, 2020
@brancz brancz deleted the pod-reference-instance branch July 3, 2020 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants