File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
apps/opentelemetry_experimental/src Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,10 @@ to_data_points(#datapoint{attributes=Attributes,
85
85
exemplars = Exemplars ,
86
86
flags = Flags
87
87
}) ->
88
+
88
89
#{attributes => otel_otlp_common :to_attributes (Attributes ),
89
- start_time => opentelemetry :timestamp_to_nano (StartTime ),
90
- time => opentelemetry :timestamp_to_nano (CollectionStartTime ),
90
+ start_time_unix_nano => opentelemetry :timestamp_to_nano (StartTime ),
91
+ time_unix_nano => opentelemetry :timestamp_to_nano (CollectionStartTime ),
91
92
value => to_datapoint_value (Value ),
92
93
exemplars => Exemplars ,
93
94
flags => Flags
@@ -107,8 +108,8 @@ to_histogram_data_points(#histogram_datapoint{
107
108
max = Max
108
109
}) ->
109
110
#{attributes => otel_otlp_common :to_attributes (Attributes ),
110
- start_time => StartTime ,
111
- time => CollectionStartTime ,
111
+ start_time_unix_nano => opentelemetry : timestamp_to_nano ( StartTime ) ,
112
+ time_unix_nano => opentelemetry : timestamp_to_nano ( CollectionStartTime ) ,
112
113
count => Count ,
113
114
sum => Sum ,
114
115
bucket_counts => Buckets ,
You can’t perform that action at this time.
0 commit comments