-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
Promtheus - Query values change after defining PromTargetName & PromTargetIP #605
Comments
Hello @idanam-del As of the target_name application, it greatly depends on your setup so it's hard to comment on the results. |
The queries i listed are from the sample dashboards. im asking why the results are different when i add PromTargetName & PromTargetIP but the queries are the same? I dont understand how its greatly depends on my setup. i plan to use PromTargetName & PromTargetIP for specific traffic i'm interested of and not for my hep generating nodes but with this unexplained change of results from the basically same queries after using this parameters i can't do what i plan without thinking something is broken when it shouldn't. |
If you want help understanding you will have to provide full information w/o assumptions or censoring data. Query + Results, Expected Results, etc.
You have the traffic needed to validate, and you know how it looks. To everyone else this is just theory and hard to guess. |
Hey, before adding PromTargetName to the helify-server config file - I query the Promtheus for the REGISTER rate of my nodes by this:
max by(node_id) (rate(heplify_method_response{target_name=~"", method="REGISTER", response="REGISTER"}[1m]))
After i add PromTargetName & PromTargetIP parameters in cfg file and restart the heplify-server service (
killall -HUP heplify-server
doesnt seem to work) - i understand i need to query like this so ill get the same rate of my nodes:max by(node_id) (rate(heplify_method_response{target_name=~"unknown", method="REGISTER", response="REGISTER"}[1m]))
But this doenst bring the same data that was before as it should becuase basically no parameter was changed.
Is this supposed to do that? How do i know which one brings the correct rate? Why is it even affected?
The text was updated successfully, but these errors were encountered: