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

put otel meter for http/grpc behind a FF #202

Merged
merged 1 commit into from
Apr 18, 2023
Merged

Conversation

jaronoff97
Copy link

Put the high cardinality stuff behind an FF

// EnableHighCardinalityMetricsfeatureGate is the feature gate that controls whether the collecor should enable
// potentially high cardinality metrics.
var EnableHighCardinalityMetricsfeatureGate = featuregate.GlobalRegistry().MustRegister(
"telemetry.enableHighCardinalityMetrics",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about renaming this as "enableRPCMetrics" or something like that, to be more specific about what this is gating?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was coming from the issue i opened against the collector open-telemetry#7517 (comment) given there may be some more high cardinality metrics like this in the future.

@jaronoff97 jaronoff97 merged commit e26deaf into main Apr 18, 2023
2 checks passed
@jaronoff97 jaronoff97 deleted the 7517-high-card-ff branch April 18, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants