feat(openmetrics): add 9 missing host RRD metrics#9696
Open
Conversation
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
050cfa7 to
9623dee
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add 9 missing host RRD metrics to the OpenMetrics plugin and synchronize them in xapi-stats (legacy).
New host metrics exposed:
xcp_host_loadxcp_host_memory_reclaimed_bytesxcp_host_memory_reclaimed_max_bytesxcp_host_running_vcpusxcp_host_network_aggregated_receive_bytesxcp_host_network_aggregated_transmit_bytesxcp_host_disk_iops_totalxcp_host_disk_throughput_total_bytesxcp_host_disk_latency_secondsUnit conversions:
formatTimeconvention)Tested against live XOA endpoint : all 9 metrics return valid data on a 3-host pool.
Fixes XO-2227
Checklist
Fixes XO-2227)Introduced by— N/A (new feature)CHANGELOG.unreleased.mdChanges
packages/xo-server-openmetrics/src/openmetric-formatter.mtspackages/xo-server-openmetrics/src/openmetric-formatter.test.mtspackages/xo-server/src/xapi-stats.mjsdocs/docs/advanced.mdCHANGELOG.unreleased.mdReview process
If you are an external contributor, you can skip this part. Simply create the pull request, and we'll get back to you as soon as possible.
Notes: