You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type line struct {
Name string `json:"Name"`
Min interface{} `json:"Min,omitempty"`
Max interface{} `json:"Max,omitempty"`
Sum interface{} `json:"Sum,omitempty"`
Count interface{} `json:"Count,omitempty"`
LastValue interface{} `json:"Last,omitempty"`
// Note: this is a pointer because omitempty doesn't work when time.IsZero()
Timestamp *time.Time `json:"Timestamp,omitempty"`
}
the output was missing all bucket info
Proposed Solution
A clear and concise description of what you want to happen.
Could the bucket info be added so all non empty buckets would be printed or if we fear that it would be too much than maybe the first 10 with dots ?
Alternatives
A clear and concise description of any alternative solutions or features you've considered.
Maybe it should be warned somewhere in a log that bucket info is missing
Prior Art
A clear and concise list of any similar and existing solutions from other projects that provide context to possible solutions.
Additional Context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Problem Statement
A clear and concise description of what the problem is.
I configured the globalmetricsprovider with stdoutmetric and histogram with 101 buckets
then i added afterwards a middleware of gin which measures latency:
The output was lacking all the bucket data and has just
I debugged the issue and found out https://github.com/open-telemetry/opentelemetry-go/blob/main/exporters/stdout/stdoutmetric/metric.go#L38
the output was missing all bucket info
Proposed Solution
A clear and concise description of what you want to happen.
Could the bucket info be added so all non empty buckets would be printed or if we fear that it would be too much than maybe the first 10 with dots ?
Alternatives
A clear and concise description of any alternative solutions or features you've considered.
Maybe it should be warned somewhere in a log that bucket info is missing
Prior Art
A clear and concise list of any similar and existing solutions from other projects that provide context to possible solutions.
Additional Context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: