OTEL format - how can it handle enums #799
Replies: 2 comments 4 replies
-
What is you goal here? Why would you want to inform the exporter? Does just sending the data as either an integer or string not work for you? |
Beta Was this translation helpful? Give feedback.
-
|
@snimmagadda-f5 if I understand correctly you want to be able to record the value of the data point such that it is from a set of known values (enum). If so then there is no such capability currently. Otel currently supports integer or double gauges, but there is no way to tell that the integer value belongs to a constrained set of allowed values. @open-telemetry/specs-metrics-approvers FYI, something to consider as possible data type for metrics. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a requirement where there is existing data containing enums that need to be converted to OTEL
data like below - metric name size, which can be mapped to form 1 to 3
HIGH -1
MEDIUM - 2
LOW -3
Even if I use IntDataPoint.Labels for string and IntDataPoint.Value for value, how can I inform the exporter about such a thing
Beta Was this translation helpful? Give feedback.
All reactions