sdk/metric: do not document default cardinality limit

This commit is contained in:
Robert Pajak 2025-07-22 12:15:42 +02:00
parent 186def7c56
commit f444117ea2
No known key found for this signature in database
GPG Key ID: E5F7C35A4DBE90C2
1 changed files with 0 additions and 2 deletions

View File

@ -165,8 +165,6 @@ func WithExemplarFilter(filter exemplar.Filter) Option {
// The cardinality limit is the hard limit on the number of metric datapoints
// that can be collected for a single instrument in a single collect cycle.
//
// By default, there is no limit applied.
//
// Setting this to a zero or negative value means no limit is applied.
func WithCardinalityLimit(limit int) Option {
// For backward compatibility, the environment variable `OTEL_GO_X_CARDINALITY_LIMIT`