Skip to content

Conversation

pstibrany
Copy link
Contributor

What this PR does: This PR modifies metrics names used by index cache to be consistent with Thanos and other caches (chunks, metadata).

This change also changes some other metrics that used cortex_querier_ and cortex_storegateway_ prefix, as documented by changelog.

Checklist

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

pstibrany added 6 commits May 25, 2020 14:15
(with name="index-cache", and appropriate component)

Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Copy link
Contributor

@khaines khaines left a comment

Choose a reason for hiding this comment

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

These all seem to be related to block store, so it's LGTM from a change perspective.

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@pstibrany pstibrany merged commit b129d25 into cortexproject:master Jun 1, 2020
simonswine pushed a commit to grafana/e2e that referenced this pull request Jan 13, 2022
* Removed Cortex-specific metrics for index cache, reuse Thanos metrics

(with name="index-cache", and appropriate component)

Signed-off-by: Peter Štibraný <[email protected]>

* Don't prefix metrics, but use new label instead.

Signed-off-by: Peter Štibraný <[email protected]>

* Fix tests.

Signed-off-by: Peter Štibraný <[email protected]>

* Fixed tests after renaming metrics.

Signed-off-by: Peter Štibraný <[email protected]>

* Add cortex_ prefix to metrics (re-)defined in Cortex

Signed-off-by: Peter Štibraný <[email protected]>

* Fix integration tests.

Signed-off-by: Peter Štibraný <[email protected]>

* Fix comment.

Signed-off-by: Peter Štibraný <[email protected]>

* Fix component name.

Signed-off-by: Peter Štibraný <[email protected]>

* Added PR number to CHANGELOG.md entries.

Signed-off-by: Peter Štibraný <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants