Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SpanSamplingRule

Span sampling rules to ingest single spans where the enclosing trace is dropped

Hierarchy

  • SpanSamplingRule

Index

Properties

Optional maxPerSecond

maxPerSecond: undefined | number

Maximum number of spans matching a span sampling rule to be allowed per second.

Optional name

name: undefined | string

Operation name or pattern on which to apply this rule. The rule will apply to all operation names if not provided.

Optional sampleRate

sampleRate: undefined | number

Sampling rate for this rule. Will default to 1.0 (always) if not provided.

Optional service

service: undefined | string

Service name or pattern on which to apply this rule. The rule will apply to all services if not provided.

Generated using TypeDoc