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
There is no pdata API to clear optional fields like pmetric.HistogramDataPoint.Min/Max. We didn't add it before 1.0 because there was no need for that, but apparently it's needed now for open-telemetry/opentelemetry-collector-contrib#15658.
Suggestion is to add methods with Clear prefix like:
pmetric.HistogramDataPoint.ClearMin()
pmetric.HistogramDataPoint.ClearMax()
The text was updated successfully, but these errors were encountered:
There is no pdata API to clear optional fields like
pmetric.HistogramDataPoint.Min/Max
. We didn't add it before 1.0 because there was no need for that, but apparently it's needed now for open-telemetry/opentelemetry-collector-contrib#15658.Suggestion is to add methods with
Clear
prefix like:pmetric.HistogramDataPoint.ClearMin()
pmetric.HistogramDataPoint.ClearMax()
The text was updated successfully, but these errors were encountered: