Allow specifying samplers for the OpenTelemetry tracer via a new configuration. (#30259)
Signed-off-by: thomas.ebner <thomas.ebner@dynatrace.com> Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com> Mirrored from https://github.com/envoyproxy/envoy @ c600637b9fddfe3f1381baf436e050f3fa7723b6main
parent
11884f6161
commit
783cea0e79
5 changed files with 43 additions and 0 deletions
@ -0,0 +1,9 @@ |
||||
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
||||
|
||||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||
|
||||
licenses(["notice"]) # Apache 2 |
||||
|
||||
api_proto_package( |
||||
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"], |
||||
) |
@ -0,0 +1,23 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package envoy.extensions.tracers.opentelemetry.samplers.v3; |
||||
|
||||
import "udpa/annotations/status.proto"; |
||||
|
||||
option java_package = "io.envoyproxy.envoy.extensions.tracers.opentelemetry.samplers.v3"; |
||||
option java_outer_classname = "AlwaysOnSamplerProto"; |
||||
option java_multiple_files = true; |
||||
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/tracers/opentelemetry/samplers/v3;samplersv3"; |
||||
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||
|
||||
// [#protodoc-title: Always On Sampler config] |
||||
// Configuration for the "AlwaysOn" Sampler extension. |
||||
// The sampler follows the "AlwaysOn" implementation from the OpenTelemetry |
||||
// SDK specification. |
||||
// |
||||
// See: |
||||
// `AlwaysOn sampler specification <https://opentelemetry.io/docs/specs/otel/trace/sdk/#alwayson>`_ |
||||
// [#extension: envoy.tracers.opentelemetry.samplers.always_on] |
||||
|
||||
message AlwaysOnSamplerConfig { |
||||
} |
Loading…
Reference in new issue