Skip to content

Chore: Use middleware package from dskit #4471

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

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Sep 11, 2021

What this PR does:
Use middleware package from dskit.

Which issue(s) this PR fixes:

Checklist

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

@aknuds1 aknuds1 force-pushed the chore/use-dskit-middleware branch from 8304206 to aa99a2e Compare September 14, 2021 14:36
Copy link
Contributor

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

lgtm but I might suggest moving these functions into https://github.com/weaveworks/common/blob/master/middleware/grpc_instrumentation.go since they are effectively the client side of what is already there.

@aknuds1 aknuds1 force-pushed the chore/use-dskit-middleware branch from aa99a2e to b4310d9 Compare October 8, 2021 14:28
@aknuds1
Copy link
Contributor Author

aknuds1 commented Oct 12, 2021

lgtm but I might suggest moving these functions into https://github.com/weaveworks/common/blob/master/middleware/grpc_instrumentation.go since they are effectively the client side of what is already there.

@bboreham that change would have to happen in dskit though, right? As such, it's outside of the scope of this PR. If we want to make that change, it should be easy to fix up Cortex after.

@aknuds1 aknuds1 force-pushed the chore/use-dskit-middleware branch from b4310d9 to 7c874b6 Compare October 12, 2021 12:55
@pull-request-size pull-request-size bot added size/M and removed size/S labels Oct 12, 2021
@aknuds1 aknuds1 force-pushed the chore/use-dskit-middleware branch from 7c874b6 to 629fb6b Compare October 12, 2021 13:00
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
@aknuds1 aknuds1 force-pushed the chore/use-dskit-middleware branch from 629fb6b to 1529953 Compare October 13, 2021 08:18
@pracucci pracucci merged commit 2b77803 into cortexproject:master Oct 13, 2021
@aknuds1 aknuds1 deleted the chore/use-dskit-middleware branch October 13, 2021 11:05
@danielblando danielblando mentioned this pull request Oct 25, 2021
3 tasks
srijan55 pushed a commit to srijan55/cortex that referenced this pull request Nov 26, 2021
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Signed-off-by: Manish Kumar Gupta <manishkg@microsoft.com>
alvinlin123 pushed a commit to ac1214/cortex that referenced this pull request Jan 14, 2022
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
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