-
Notifications
You must be signed in to change notification settings - Fork 33
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
An error has occurred during metrics collection #1
Comments
Might need to add the allocation id as a label to the allocations or alternatively only collect from running allocations to ensure the uniqueness of the name + labels (job_name,group_name,alloc_name[alloc_index]). I will take a closer look later today. |
I think only running allocations are of interest as they are the only ones that with interesting metrics. I don't know if the alloc index is necessary, isn't alloc name already unique? |
the alloc index is included in the alloc name, if a group has count = 10 then the allocs have a name of task_name[alloc_index 0..9] |
Sorry my mistake, I meant allocation ID, not index. Would it be of interest to have allocation by type? Right now nomad_allocations shows all allocations. I don't know if it would be interesting to have |
might be useful, would allow monitoring queued counts etc. Same could perhaps be extended to nodes. And we could add evaluations by status as well in the future. We should go through the information the builtin stats providers (statsite, statsd, datadog etc) expose and try to emulate those to some extent. |
Hi
As you can see there is two servers with the same name.
Didn't you think about adding label node_id? |
I tried running this exporter but I am getting the following error
i believe this is happens when there are several older allocations
after manually triggering garbage collection the old allocations were gone and the exporter worked.
The text was updated successfully, but these errors were encountered: