-
Notifications
You must be signed in to change notification settings - Fork 101
Track variable usage in telemetry #2593
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
Conversation
] | ||
], | ||
"experimental": { | ||
"configuration_file_count": 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configuration_file_count
and target_count
are incorrectly serialized to 0 right now.
configuration_file_count
addressed in Track number of YAML configuration files in a bundle #2589target_count
fix is in progress
On hold, to fix this PR I need to use both the annotation as well as the value itself and see it's complex. |
@@ -319,6 +319,22 @@ func logTelemetry(ctx context.Context, b *bundle.Bundle) { | |||
bundleUuid = b.Config.Bundle.Uuid | |||
} | |||
|
|||
variableCount := len(b.Config.Variables) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
followup: this function is already big enough to be moved to a separate file for a better readability
Based on feedback in #2593 (comment)
Why
This gives us insight into usage patterns of variables by customers. Like how popular are lookup variables or complex variables overall compared to just default variables.
Potential followup: track lookup variable usage per resource type.
Tests
Acceptance tests.