File tree 3 files changed +57
-0
lines changed
3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,25 @@ option java_package = "io.opentelemetry.proto.logs.v1";
24
24
option java_outer_classname = "LogsProto" ;
25
25
option go_package = "github.com/open-telemetry/opentelemetry-proto/gen/go/logs/v1" ;
26
26
27
+ // LogsData represents the logs data that can be stored in a persistent storage,
28
+ // OR can be embedded by other protocols that transfer OTLP logs data but do not
29
+ // implement the OTLP protocol.
30
+ //
31
+ // The main difference between this message and collector protocol is that
32
+ // in this message there will not be any "control" or "metadata" specific to
33
+ // OTLP protocol.
34
+ //
35
+ // When new fields are added into this message, the OTLP request MUST be updated
36
+ // as well.
37
+ message LogsData {
38
+ // An array of ResourceLogs.
39
+ // For data coming from a single resource this array will typically contain
40
+ // one element. Intermediary nodes that receive data from multiple origins
41
+ // typically batch the data before forwarding further and in that case this
42
+ // array will contain multiple elements.
43
+ repeated ResourceLogs resource_logs = 1 ;
44
+ }
45
+
27
46
// A collection of InstrumentationLibraryLogs from a Resource.
28
47
message ResourceLogs {
29
48
// The resource for the logs in this message.
Original file line number Diff line number Diff line change @@ -24,6 +24,25 @@ option java_package = "io.opentelemetry.proto.metrics.v1";
24
24
option java_outer_classname = "MetricsProto" ;
25
25
option go_package = "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" ;
26
26
27
+ // MetricsData represents the metrics data that can be stored in a persistent
28
+ // storage, OR can be embedded by other protocols that transfer OTLP metrics
29
+ // data but do not implement the OTLP protocol.
30
+ //
31
+ // The main difference between this message and collector protocol is that
32
+ // in this message there will not be any "control" or "metadata" specific to
33
+ // OTLP protocol.
34
+ //
35
+ // When new fields are added into this message, the OTLP request MUST be updated
36
+ // as well.
37
+ message MetricsData {
38
+ // An array of ResourceMetrics.
39
+ // For data coming from a single resource this array will typically contain
40
+ // one element. Intermediary nodes that receive data from multiple origins
41
+ // typically batch the data before forwarding further and in that case this
42
+ // array will contain multiple elements.
43
+ repeated ResourceMetrics resource_metrics = 1 ;
44
+ }
45
+
27
46
// A collection of InstrumentationLibraryMetrics from a Resource.
28
47
message ResourceMetrics {
29
48
// The resource for the metrics in this message.
Original file line number Diff line number Diff line change @@ -24,6 +24,25 @@ option java_package = "io.opentelemetry.proto.trace.v1";
24
24
option java_outer_classname = "TraceProto" ;
25
25
option go_package = "github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1" ;
26
26
27
+ // TracesData represents the traces data that can be stored in a persistent storage,
28
+ // OR can be embedded by other protocols that transfer OTLP traces data but do
29
+ // not implement the OTLP protocol.
30
+ //
31
+ // The main difference between this message and collector protocol is that
32
+ // in this message there will not be any "control" or "metadata" specific to
33
+ // OTLP protocol.
34
+ //
35
+ // When new fields are added into this message, the OTLP request MUST be updated
36
+ // as well.
37
+ message TracesData {
38
+ // An array of ResourceSpans.
39
+ // For data coming from a single resource this array will typically contain
40
+ // one element. Intermediary nodes that receive data from multiple origins
41
+ // typically batch the data before forwarding further and in that case this
42
+ // array will contain multiple elements.
43
+ repeated ResourceSpans resource_spans = 1 ;
44
+ }
45
+
27
46
// A collection of InstrumentationLibrarySpans from a Resource.
28
47
message ResourceSpans {
29
48
// The resource for the spans in this message.
You can’t perform that action at this time.
0 commit comments