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

include request url in the datasource unexpected status code error message #243

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

chenlujjj
Copy link
Contributor

We're using this datasource and grafana to define alert rules.
Recently there are some alert errors, but the the logs of grafana only tell that got unexpected response status code:

image

we want to include the request url in the error message so we can confirm if the request is from the alert or not.

@Loori-R Loori-R requested a review from dmitryk-dk January 14, 2025 13:53
dmitryk-dk
dmitryk-dk previously approved these changes Jan 14, 2025
Copy link
Contributor

@dmitryk-dk dmitryk-dk left a comment

Choose a reason for hiding this comment

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

LGTM!
@chenlujjj could you please update the chnagelog according to this update?

@chenlujjj
Copy link
Contributor Author

@dmitryk-dk sure, updated.

dmitryk-dk
dmitryk-dk previously approved these changes Jan 15, 2025
@Loori-R Loori-R self-requested a review January 15, 2025 16:02
@dmitryk-dk dmitryk-dk merged commit 79c7521 into VictoriaMetrics:main Jan 15, 2025
6 checks passed
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.

3 participants