Add IsCVM value to KeywordName column in events#3575
Open
maddieford wants to merge 7 commits intoAzure:developfrom
Open
Add IsCVM value to KeywordName column in events#3575maddieford wants to merge 7 commits intoAzure:developfrom
maddieford wants to merge 7 commits intoAzure:developfrom
Conversation
nagworld9
reviewed
Mar 17, 2026
| # - False | ||
| # The value is None when the CVM info has not yet been initialized. | ||
| # | ||
| _is_cvm = None |
Contributor
There was a problem hiding this comment.
None works. But for explicit checking, like GUID_ZERO for container id, can we do similarly assign IsCVM_UNINITIALIZED as default here and identify same string in event.py?
Contributor
Author
There was a problem hiding this comment.
I thought about this, but I didn't like having string type as default value for bool value. For now I am keeping None but let me know if you have any concerns
narrieta
approved these changes
Mar 20, 2026
nagworld9
approved these changes
Mar 20, 2026
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
Currently, we send a single telemetry event on service initialization which indicates if the VM is a CVM or not.
As we prepare telemetry releases for CVM-only features, we will need to write queries that efficiently filter events for CVMs only. This PR adds the IsCVM key to the KeywordName column. The agent currently discovers if the VM is a CVM over a network call, so the first few events in agent initialization will not have the 'IsCVM' key.
Issue #
PR information
developbranch.Quality of Code and Contribution Guidelines
Distro maintenance information, if applicable