-
Notifications
You must be signed in to change notification settings - Fork 26
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
Getting query failure metrics as NaN always. #9
Comments
hi @msaha1994, I'd need a couple of info:
|
I am not using the latest upstream. |
Please do test the last upstream if possible :) You need to instruct Druid to send metrics to the ip:port that the exporter is listening on, please check https://github.com/wikimedia/operations-software-druid_exporter#how-does-it-work. |
I have taken the upstream pull. I am using the below command to run this.
Still not getting the data for query druid_broker_query_countt. |
Have you tried to query the brokers some times to see if datapoints are generated? |
should i try |
Nope what I mean is querying the druid broker itself, your example seems to point to the prometheus exporter. If you don't query the Druid broker no data point will be emitted and sent to the prometheus exporter, that will have no data to visualize. |
My druid's recipient base URL port and operations-software-druid_exporter port both are the same. Will it be a problem? |
Mmmm it is a bit strange, how could two different daemons (druid broker and prometheus exporter) bind to the same port on the same host? Are you sure? |
So if I will set recipientBaseurl=http://10.10.40.198:8000/ and running exporter as sudo nohup .venv/bin/druid_exporter --listen 10.10.40.198:8000& |
Ah sorry I misread the above: yes please set recipientBaseurl in the Druid configuration to the address of the prometheus exporter. Then you have to query your Broker on port 8082 and see if datapoints appear (if it is not 8082 then the port that you configured for the broker). |
I should try this |
@msaha1994 you should try to query the Druid brokers as you would do to simulate any Druid workload, and then see if any datapoint is visualized. The flow is: user-query -> Druid -> datapoint-via-http -> prometheus exporter <- query for datapoints |
I am using the druid version of 0.12.
The text was updated successfully, but these errors were encountered: