-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
PROMETHEUS_SERVER_URL broken since 1.34 #3677
Comments
Thanks for reporting the bug @greut. This bug was introduced in the PR: #3030 Specifically, the signature of This meant that the prometheus factory no longer implemented the Fix options:
Option 1. involves the least changes, arguably okay to crash on startup due to invalid arguments, and would be consistent with behaviour from other storage types: IMO option 2. is the more correct approach, but involves more changes. What do folks think? Happy to put in a fix either way. |
I would prefer option 2, but you should see how much changes that would involve. If changing the signature introduced this bug, then the factory did not have a unit test where it was cast |
I also found this problem and saw that the log kept requesting localhost9090 |
@albertteoh on the other hand, I think we should first try to fix the immediate issue with minimal changes (e.g. remove error return and panic inside the factory) and release a patch. |
A fix released in https://github.com/jaegertracing/jaeger/releases/tag/v1.34.1 Apologies for the churn. |
@yurishkuro thanks, deployed and working fine! Much appreciated. |
Describe the bug
After upgrading to 1.34 from 1.33 the
PROMETHEUS_SERVER_URL
value is not read anymore.Using v1.33
And v1.34, which shows the default value.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version (please complete the following information):
What troubleshooting steps did you try?
I was using
PROMETHEUS_SERVERURL
env variable and switched to aconfig-file
, same issue. Here is the config file.Additional context
Asked for help on Slack: https://cloud-native.slack.com/archives/CGG7NFUJ3/p1652443407988039
The text was updated successfully, but these errors were encountered: