-
Notifications
You must be signed in to change notification settings - Fork 933
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
LXD cluster does not return metrics for the project if none instance form that project is run on the queried node. #12775
Comments
@tregubovav-dev is this still an issue with LXD 5.20? @simondeziel would you mind seeing if you can validate if this remains an issue? |
Since the introduction of
This confirms stopped instances are not reported about. Now with
So I believe your specific bug is fixed but since I have not use the exact same reproducing steps (cluster setup), please do re-open the bug if not fixed in |
Required information
Issue description
LXD metric API does not return metrics for the project if none instance from project run on queried node. Query return metrics only for projects which nodes implicitly run on queried node.
Steps to reproduce
lxc query /1.0/metrics
command on all nodes and ensure that the query returns metrics for all instances in all projects in the cluster.lxc query /1.0/metrics
command on that node. Query return metrics for all instances from all project except project "default".lxc query /1.0/metrics
command on other nodes and ensure that the query returns metrics for all instances in all projects in the cluster.This behavior garbles metric collected by external scrapes and external dashboards like Prometheus+Graphana.
The text was updated successfully, but these errors were encountered: