Skip to content

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Apr 23, 2020

What this PR does:
After #2437, the querier no longer passes requests from the worker to the weaveworks/common server. This means none of the instrumentation/logging middleware is used on the request.

This PR tries to fix it (I manually tested it both running Cortex both in microservices and single-binary mode). It's a draft PR because it needs:

  1. Weaveworks common change Expose server HTTP middleware for custom integrations weaveworks/common#189 to be approved and merged, and vendor/ updated
  2. Integration tests to be updated

/cc @joe-elliott

Which issue(s) this PR fixes:
Fixes #2507

Checklist

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

Signed-off-by: Marco Pracucci <[email protected]>
@pstibrany
Copy link
Contributor

Change looks good, but needs to be done upstream :(

@pracucci
Copy link
Contributor Author

Change looks good, but needs to be done upstream :(

Yes. I opened a draft PR to give everything the context of the fix to better understand the changes here:
weaveworks/common#189

@pracucci pracucci closed this Apr 23, 2020
@pracucci pracucci deleted the fix-querier-http-middleware branch April 23, 2020 10:41
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.

Querier HTTP metrics are not working with query frontend
2 participants