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

Added memcached support to the blocks storage index cache #2290

Conversation

pracucci
Copy link
Contributor

What this PR does:
In this PR I've added memcached support to the blocks storage index cache.

The PR is quite large due to a refactoring I did in the index cache metrics re-mapping, moving it to the generic storage package. The index cache metrics mapping hasn't changed, while I've added the memcached one.

Which issue(s) this PR fixes:
N/A

Checklist

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

Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

Good job! Looks like recent readiness probe work from @sandeepsukhani in #2275 comes handy :)

integration/e2e/service.go Outdated Show resolved Hide resolved
docs/operations/dns-service-discovery.md Outdated Show resolved Hide resolved
docs/operations/query-auditor.md Show resolved Hide resolved
pkg/util/strings.go Outdated Show resolved Hide resolved
pkg/util/metrics_helper_test.go Show resolved Hide resolved
pracucci and others added 12 commits March 19, 2020 10:47
Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-Authored-By: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-Authored-By: Peter Štibraný <[email protected]>
@pracucci pracucci force-pushed the add-memcached-index-cache-support-for-blocks-storage branch from a8bdbbe to 8e9c601 Compare March 19, 2020 09:48
@pracucci pracucci merged commit 2aa503b into cortexproject:master Mar 19, 2020
@pracucci pracucci deleted the add-memcached-index-cache-support-for-blocks-storage branch March 19, 2020 13:28
simonswine pushed a commit to grafana/e2e that referenced this pull request Jan 13, 2022
…ect/cortex#2290)

* Added memcached support to the blocks storage index cache

Signed-off-by: Marco Pracucci <[email protected]>

* Updated CHANGELOG

Signed-off-by: Marco Pracucci <[email protected]>

* Documented blocks storage index cache backends

Signed-off-by: Marco Pracucci <[email protected]>

* Fixed doc

Signed-off-by: Marco Pracucci <[email protected]>

* Fixed unit tests

Signed-off-by: Marco Pracucci <[email protected]>

* Updated doc

Signed-off-by: Marco Pracucci <[email protected]>

* Added a timeout to the 'docker inspect' command to avoid the command being stuck

Signed-off-by: Marco Pracucci <[email protected]>

* Update integration/e2e/service.go

Signed-off-by: Marco Pracucci <[email protected]>

Co-Authored-By: Peter Štibraný <[email protected]>

* Update docs/operations/dns-service-discovery.md

Signed-off-by: Marco Pracucci <[email protected]>

Co-Authored-By: Peter Štibraný <[email protected]>

* Reworded util.StringsContain() comment and params

Signed-off-by: Marco Pracucci <[email protected]>

* Separated metrics helpers unit tests using go blocks

Signed-off-by: Marco Pracucci <[email protected]>

* Avoid a superfluous querier integration test

Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-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.

2 participants