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

Fix missing VM metrics #262

Merged
merged 3 commits into from
Dec 2, 2023
Merged

Fix missing VM metrics #262

merged 3 commits into from
Dec 2, 2023

Conversation

stgraber
Copy link
Member

@stgraber stgraber commented Dec 2, 2023

The internal agent API was using maps rather than slices for a variety of metrics.

The problem with that approach is that if the key of that map happens to be present multiple times, as is the case with filesystem mounts, only the last record would be sent through...

Closes lxc#259

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@tych0 tych0 merged commit 6d50a7c into lxc:main Dec 2, 2023
25 checks passed
@stgraber stgraber deleted the metrics branch December 15, 2023 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants