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

Missing exposed metrics in Prometheus #58

Open
strus38 opened this issue Jul 13, 2021 · 1 comment
Open

Missing exposed metrics in Prometheus #58

strus38 opened this issue Jul 13, 2021 · 1 comment

Comments

@strus38
Copy link

strus38 commented Jul 13, 2021

Hi
While using your exporter and the SLURM grafana dashboard, I noticed that those metrics are not exposed:

"expr": "slurm_account_cpus_running"
"expr": "slurm_account_jobs_pending"
"expr": "slurm_account_jobs_running"
"expr": "slurm_partition_cpus_allocated"
"expr": "slurm_partition_jobs_pending"
"expr": "slurm_user_cpus_running"
"expr": "slurm_user_jobs_pending"
"expr": "slurm_user_jobs_running"

I guess I am missing something in enabling some metrics when starting the exporter, but cannot find which ones...
Could you help please?

In fact it seems that the metrics are exported only if their value is >0 ... but why that? since 0 is a data, but a missing metric is a N/A in the dashboard, thinkin the dashboard has an issue!

Thanks!

@peekay1234
Copy link

Right!, I think when user complete job metric is gone and not collect data to prometheus.

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

2 participants