Skip to content

Conversation

@AlexKorsakov
Copy link

Add uri to error message which occurs when exporter couldn't get success status code from one of the addresses for scrape.

  1. GetApiEndpoint() created because apiEndpoint is unexported.
  2. Added attribute uri to log
  3. Pass err object instead of err.Error() to save stacktrace. Or is there any cause not to change it?
  4. I haven't made the same changes for nginx_plus.go yet, cause it requires to change plusclient but I don't have any license to run and test it after changes. I can make it without testing, only run lint and build.

@AlexKorsakov AlexKorsakov requested a review from a team as a code owner November 4, 2025 14:00
@nginx-bot
Copy link

nginx-bot bot commented Nov 4, 2025

Hi @AlexKorsakov! Welcome to the project! 🎉

Thanks for opening this pull request!
Be sure to check out our Contributing Guidelines while you wait for someone on the team to review this.

@nginx-bot nginx-bot bot added the community Issues or PRs opened by an external contributor label Nov 4, 2025
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

✅ All required contributors have signed the F5 CLA for this PR. Thank you!
Posted by the CLA Assistant Lite bot.

@AlexKorsakov
Copy link
Author

I have hereby read the F5 CLA and agree to its terms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Issues or PRs opened by an external contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants