-
Notifications
You must be signed in to change notification settings - Fork 149
chore: standardize count metric descriptions on "Number of" #3314
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
Open
chet
wants to merge
1
commit into
NVIDIA:main
Choose a base branch
from
chet:gh-issue-3307
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
8 changes: 4 additions & 4 deletions
8
crates/api-core/src/machine_validation/fixtures/test_metrics_collector.txt
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
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
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
16 changes: 8 additions & 8 deletions
16
crates/api-core/src/measured_boot/tests/test_data/test_metrics_collector.txt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,38 @@ | ||
| # HELP carbide_measured_boot_bundles_total The total number of measured boot bundles. | ||
| # HELP carbide_measured_boot_bundles_total Number of measured boot bundles. | ||
| # TYPE carbide_measured_boot_bundles_total gauge | ||
| carbide_measured_boot_bundles_total 4 | ||
| # HELP carbide_measured_boot_machines_per_bundle_state_total The total number of machines per a given measured boot bundle state. | ||
| # HELP carbide_measured_boot_machines_per_bundle_state_total Number of machines in each measured boot bundle state. | ||
| # TYPE carbide_measured_boot_machines_per_bundle_state_total gauge | ||
| carbide_measured_boot_machines_per_bundle_state_total{bundle_state="Active"} 1 | ||
| carbide_measured_boot_machines_per_bundle_state_total{bundle_state="Obsolete"} 1 | ||
| carbide_measured_boot_machines_per_bundle_state_total{bundle_state="Pending"} 1 | ||
| carbide_measured_boot_machines_per_bundle_state_total{bundle_state="Retired"} 3 | ||
| carbide_measured_boot_machines_per_bundle_state_total{bundle_state="Revoked"} 4 | ||
| # HELP carbide_measured_boot_machines_per_bundle_total The total number of machines per measured boot bundle. | ||
| # HELP carbide_measured_boot_machines_per_bundle_total Number of machines per measured boot bundle. | ||
| # TYPE carbide_measured_boot_machines_per_bundle_total gauge | ||
| carbide_measured_boot_machines_per_bundle_total{bundle_id="33be881e-5871-4519-b7dd-84946f3b758a"} 4 | ||
| carbide_measured_boot_machines_per_bundle_total{bundle_id="3e4ec902-f834-448c-9c0d-aca7da84d5d7"} 3 | ||
| carbide_measured_boot_machines_per_bundle_total{bundle_id="53008cc3-988e-459c-a4c1-acb0ea44a884"} 2 | ||
| carbide_measured_boot_machines_per_bundle_total{bundle_id="f567ae32-690c-4108-8ee8-5116c64ff3f0"} 1 | ||
| # HELP carbide_measured_boot_machines_per_machine_state_total The total number of machines per a given measured boot machine state. | ||
| # HELP carbide_measured_boot_machines_per_machine_state_total Number of machines in each measured boot machine state. | ||
| # TYPE carbide_measured_boot_machines_per_machine_state_total gauge | ||
| carbide_measured_boot_machines_per_machine_state_total{machine_state="Discovered"} 1 | ||
| carbide_measured_boot_machines_per_machine_state_total{machine_state="Measured"} 3 | ||
| carbide_measured_boot_machines_per_machine_state_total{machine_state="MeasuringFailed"} 4 | ||
| carbide_measured_boot_machines_per_machine_state_total{machine_state="PendingBundle"} 2 | ||
| # HELP carbide_measured_boot_machines_per_pcr_value_total The total number of machines with a given PCR value at a given PCR index. | ||
| # HELP carbide_measured_boot_machines_per_pcr_value_total Number of machines with a given PCR value at a given PCR index. | ||
| # TYPE carbide_measured_boot_machines_per_pcr_value_total gauge | ||
| carbide_measured_boot_machines_per_pcr_value_total{pcr_index="0",pcr_value="aa"} 5 | ||
| carbide_measured_boot_machines_per_pcr_value_total{pcr_index="1",pcr_value="bb"} 5 | ||
| # HELP carbide_measured_boot_machines_per_profile_total The total number of machines per measured boot system profile. | ||
| # HELP carbide_measured_boot_machines_per_profile_total Number of machines per measured boot system profile. | ||
| # TYPE carbide_measured_boot_machines_per_profile_total gauge | ||
| carbide_measured_boot_machines_per_profile_total{profile_id="254542a1-0fb2-4250-91df-b5ecfa52645e"} 2 | ||
| carbide_measured_boot_machines_per_profile_total{profile_id="4ed2dea5-c325-4317-aeb3-e9766956d9fc"} 3 | ||
| carbide_measured_boot_machines_per_profile_total{profile_id="bf13aaeb-c9e6-4e42-9b2f-5aa525c56124"} 1 | ||
| carbide_measured_boot_machines_per_profile_total{profile_id="c5c926f3-a454-497c-95ff-d21647590631"} 4 | ||
| # HELP carbide_measured_boot_machines_total The total number of machines reporting measurements. | ||
| # HELP carbide_measured_boot_machines_total Number of machines reporting measurements. | ||
| # TYPE carbide_measured_boot_machines_total gauge | ||
| carbide_measured_boot_machines_total 10 | ||
| # HELP carbide_measured_boot_profiles_total The total number of measured boot profiles. | ||
| # HELP carbide_measured_boot_profiles_total Number of measured boot profiles. | ||
| # TYPE carbide_measured_boot_profiles_total gauge | ||
| carbide_measured_boot_profiles_total 10 |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.