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

Add filtering by namespace in non-tempo alerts #1098

Merged
merged 3 commits into from
Nov 8, 2021

Conversation

mapno
Copy link
Member

@mapno mapno commented Nov 4, 2021

What this PR does:

Adds a configurable namespace label to cortex metrics used for alerts. This can be useful if you're running tempo and cortex in the same cluster.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Member

@kvrhdn kvrhdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Not approving yet because we'll want to merge this after cutting v1.2.

@kvrhdn kvrhdn added this to the v1.3 milestone Nov 5, 2021
Copy link
Member

@kvrhdn kvrhdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to merge once the changelog is updated 🙂

CHANGELOG.md Outdated
@@ -73,6 +73,7 @@
* [ENHANCEMENT] Include tempo-cli in the release [#1086](https:/grafana/tempo/pull/1086) (@zalegrala)
* [ENHANCEMENT] Add search on span status [#1093](https:/grafana/tempo/pull/1093) (@mdisibio)
* [ENHANCEMENT] Slightly improved compression performance [#1094](https:/grafana/tempo/pull/1094) (@bboreham)
* [ENHANCEMENT] Jsonnet: add `$._config.namespace` to filter by namespace in cortex metrics [#1098](https:/grafana/tempo/pull/1098) (@kvrhdn)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you merge latest changes from main and move this entry up?

@mapno mapno force-pushed the configurable-namespace-mixin branch from 896530c to 7079b54 Compare November 8, 2021 15:09
@mapno mapno merged commit ea71581 into grafana:main Nov 8, 2021
@mapno mapno deleted the configurable-namespace-mixin branch November 8, 2021 15:36
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.

2 participants