-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathopentelemetry.proto
46 lines (36 loc) · 1.73 KB
/
opentelemetry.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
syntax = "proto3";
package solo.io.envoy.config.trace.v3;
import "udpa/annotations/migrate.proto";
import "udpa/annotations/status.proto";
import "udpa/annotations/versioning.proto";
import "validate/validate.proto";
import "github.com/solo-io/solo-kit/api/v1/ref.proto";
option java_package = "io.envoyproxy.solo.io.envoy.config.trace.v3";
option java_outer_classname = "OpentelemetryProto";
option java_multiple_files = true;
option (solo.io.udpa.annotations.file_migrate).move_to_package = "envoy.extensions.tracers.opentelemetry.v4alpha";
option (solo.io.udpa.annotations.file_status).package_version_status = ACTIVE;
// [#protodoc-title: OpenTelemetry tracer]
// Configuration for the OpenTelemetry tracer.
// [#extension: envoy.tracers.opentelemetry]
message OpenTelemetryConfig {
option (solo.io.udpa.annotations.versioning).previous_message_type =
"envoy.config.trace.v2.OpenTelemetryConfig";
// The cluster to use for submitting traces to the OpenTelemetry agent.
oneof collector_cluster {
// The upstream to use for submitting traces to the OpenTelemetry agent.
core.solo.io.ResourceRef collector_upstream_ref = 1;
// The name of the Envoy cluster to use for submitting traces to the
// OpenTelemetry agent
string cluster_name = 2;
}
// Optional. If set, the service name will be used as the service name in the trace.
// If this is not set it will be automatically set to the name of the
// listener + the namespace of the Gateway object
string service_name = 3;
}
option go_package = "github.com/solo-io/solo-apis/pkg/api/gloo.solo.io/external/envoy/config/trace/v3";
import "extproto/ext.proto";
option (extproto.hash_all) = true;
option (extproto.clone_all) = true;
option (extproto.equal_all) = true;