Skip to content

Commit

Permalink
add tracing.match example
Browse files Browse the repository at this point in the history
Signed-off-by: whitneygriffith <[email protected]>
  • Loading branch information
whitneygriffith committed Apr 3, 2024
1 parent a9538f0 commit e4d71a8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions telemetry/v1alpha1/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ import "google/protobuf/wrappers.proto";
//
// ## Examples
//
// Policy to tailor the zipkin provider to sample traces from Client workloads only:
// ```yaml
// apiVersion: telemetry.istio.io/v1alpha1
// kind: Telemetry
// metadata:
// name: mesh-default
// namespace: istio-system
// spec:
// # no selector specified, applies to all workloads
// tracing:
// - match: CLIENT
// - providers:
// - name: "zipkin"
// ```
//
// Policy to enable random sampling for 10% of traffic:
// ```yaml
// apiVersion: telemetry.istio.io/v1alpha1
Expand Down

0 comments on commit e4d71a8

Please sign in to comment.