Skip to content
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

Dashboards would be more useful if they could aggregate across instances #216

Open
gaggle opened this issue Sep 27, 2023 · 1 comment
Open
Assignees

Comments

@gaggle
Copy link

gaggle commented Sep 27, 2023

First off, kudos on the fantastic dashboards! They're very insightful.

We've observed that the dashboards only presents data per "Application Instance". This setup prevents us from having an overview of metrics across all instances. Is this a design decision or an unavoidable constraint?

Describe the solution you would like to see
It would be tremendously helpful to see aggregated metrics spanning all instances.

How would you expect this feature to work
Maybe the "Application Instance" filter could accept a wildcard ("*") to display metrics from all instances? Or could a toggle switch between individual and aggregated views?

We were expecting the dashboards to display a comprehensive view by default, and then allowing us to drill down further when/if needed.

Additional context
We deploy to Kubernetes pods so the "Application Instance" dropdown fill up with dozens of entries, and each individual instance lives for very short time as new instances appear every time we deploy.

@gaggle gaggle changed the title Phoenix dashboard can only show by instance? Not aggregated? Dashboards only show by instance? Can't they show aggregated? Sep 27, 2023
@gaggle gaggle changed the title Dashboards only show by instance? Can't they show aggregated? Dashboards would be more useful if they aggregate across instances Sep 27, 2023
@gaggle gaggle changed the title Dashboards would be more useful if they aggregate across instances Dashboards would be more useful if they could aggregate across instances Sep 27, 2023
@amozoss
Copy link

amozoss commented Sep 25, 2024

I believe it's as simple as setting showAll to true in all the dashboard templates

https://github.com/akoutmos/prom_ex/blob/master/priv/phoenix_live_view.json.eex#L1320
Then have a default value of
"allValue": ".*"

And then you'd want to change instance=\"$instance\" to instance=~\"$instance\" so it can match a regex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants