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

Fix response.request accessible from PrometheusBackend #1718

Merged

Conversation

Krever
Copy link
Contributor

@Krever Krever commented Jan 31, 2023

We had a problem in our codebase that we reported example.com to prometheus because we took it from response and not request.

Im not sure if we want to merge it like that. The whole existence of ExampleGet exposed in the core looks quite dangerous to me, but I don't feel adventurous enough to try deeper refactor.

@adamw
Copy link
Member

adamw commented Jan 31, 2023

True, this should be probably more clearly marked as testing utilities to avoid bugs as here. Can you create an issue to fix this in sttp4?

Meanwhile, let's see where else this apply is used :)

@adamw adamw merged commit 18653f4 into softwaremill:master Jan 31, 2023
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.

None yet

2 participants