Skip to content

Commit a85ff22

Browse files
committed
comments
1 parent 746f137 commit a85ff22

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

opentelemetry/proto/metrics/v1/metrics.proto

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,22 @@ message RawValue {
5252
// alongside the original measurement. Only labels that were dropped by the aggregator should be included
5353
repeated opentelemetry.proto.common.v1.StringKeyValue labels = 1;
5454

55-
// Exact time that the measurement was recorded
55+
// time_unix_nano is the exact time when this RawValue was recorded
56+
//
57+
// Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
5658
fixed64 time_unix_nano = 2;
5759

5860
// Numerical value of the measurement that was recorded. Only one of these
5961
// two fields is used for the data, based on MetricDescriptor.measurement_value_type
6062
double double_value = 3;
6163
int64 int64_value = 4;
6264

63-
// (Optional) Span ID of the current trace
65+
// (Optional) Span ID of the current trace.
66+
// span_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.
6467
bytes span_id = 5;
6568

66-
// (Optional) Trace ID of the current trace
69+
// (Optional) Trace ID of the current trace.
70+
// trace_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.
6771
bytes trace_id = 6;
6872

6973
// (Optional) When sample_count is non-zero, this exemplar has been chosen in a statistically

0 commit comments

Comments
 (0)