Skip to content

Commit

Permalink
TraceTypeRatio
Browse files Browse the repository at this point in the history
  • Loading branch information
sjberman committed Apr 19, 2024
1 parent b99dfc5 commit 62684f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/v1alpha1/observabilitypolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ type Tracing struct {
type TraceStrategy string

const (
// TraceStrategyOn enables ratio-based tracing, defaulting to 100% sampling rate.
// TraceStrategyRatio enables ratio-based tracing, defaulting to 100% sampling rate.
TraceStrategyRatio TraceStrategy = "ratio"

// TraceStrategyParent enables tracing and only records spans if the parent span was sampled.
Expand Down
2 changes: 1 addition & 1 deletion docs/proposals/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type Tracing struct {
type TraceStrategy string

const (
// TraceStrategyOn enables ratio-based tracing, defaulting to 100% sampling rate.
// TraceStrategyRatio enables ratio-based tracing, defaulting to 100% sampling rate.
TraceStrategyRatio TraceStrategy = "ratio"

// TraceStrategyParent enables tracing and only records spans if the parent span was sampled.
Expand Down

0 comments on commit 62684f3

Please sign in to comment.