-
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
Grafana not showing data as expected with multiple arrays #99
Comments
Attempted to use this setup to define the second array now and grafana dashboard picks this up without any trouble, so not sure what is differentiating them creating trouble in grafana. |
Hi @emollusion thanks for the issue! I am going to tag in the owner of those grafana dashboard who may be able to give a little more context on how the panels are getting their data, and what vars may being propagated through the panels. With that said, if using our pre-built suggested dashboards - please follow the configurations as closely as possible. We'd also be happy to schedule out a Zoom session at the beginning of the year. Please email our distribution list |
@emollusion this does appear to be an issue with the Prometheus config rather than the Exporter. Are you able to share your |
Hi! This is the working configuration at the moment, and the pure-fa exporter service runs with default config and without a token file. This maps both fa1 and fa2 in grafana as expected.
So for the configs that are expected to work, this runs the pure-fa exporter service with a token file. The metrics appear to be mapped for both FAs the same way using either method. systemd:
tokens.yml:
prometheus.yml:
|
If you wish to use the relabelling We need to add the For example: static_configs:
- targets: # <== the list of your FlashArrays goes here
- hostname_fa1
- hostname_fa2
labels:
env: env Using this model we cannot easily customise an environment variable for each array but it will meet the Grafana dashboard requirements. I notice you have specified port 9491 for the FlashArray Exporter, perhaps for the tokens instance of the exporter. Just note that by default the FlashBlade Exporter uses port 9491 just in case you have FlashBlade. |
Hi! Yes, this did the trick. Running on port 9491 was temporary to be able to run services side by side. Thank you! |
Excellent - I'm glad you're up and running. |
Hi!
Trying to use the grafana dashboard to view multiple Flash Arrays.
The prometheus configuration uses the flash array exporter with token configuration, meaning that I have multiple targets and the relabel config for each job.
This made most sense rather than adding one job per array per metric source.
To accommodate this there are two exporters running, one which runs generically and one which runs with the token config.
Earlier this has been done with config towards one FA, and one job per metric source on that FA, which works fine in the grafana dash.
I get the data in to prometheus as expected, and I can't see any metric difference from the metrics retrieved by the old config and the new config. The data is differentiated with the label instance which I understood the config to use.
The only difference between the old and the new config would be the job names, but this hsould have little affect on grafana.
In grafana I can see both arrays in the dropdown menu FlashArray, or rather three since the new config targets both and the old only one, and both are live at the same time. But this means that it has gotten hold of which instance labels there are.
But in the dashboard it only works if all or the old instance is selected, and the list at the top only shows the old instance, and for a while it showed the IP of the prometheus exporter, but it does not do that either now.
In my mind if I have all the FAs in the dropdown, this should be propogated in the entire dash. Selecting an instance from the new config returns no data at all, even though prometheus is collecting data. It should be possible to use any number of prometheus exporters for FAs depending on the environment, just like you can input any number of FAs in the prometheus config as per the last example below.
The dash used is this one:
https://github.com/PureStorage-OpenConnect/pure-fa-openmetrics-exporter/blob/master/extra/grafana/grafana-purefa-flasharray-overview.json
The prometheus config used is the one in the readme, repeated for each metric source:
https://github.com/PureStorage-OpenConnect/pure-fa-openmetrics-exporter/blob/master/extra/grafana/grafana-purefa-flasharray-overview.json
The old prometheus config which works is based on this one:
https://github.com/PureStorage-OpenConnect/pure-fa-openmetrics-exporter/blob/master/extra/prometheus/prometheus.yml
Let me know if you need any additional information to help trouble shoot this.
Thanks!
The text was updated successfully, but these errors were encountered: