Skip to content

Commit

Permalink
revert accidental change to sampling doc
Browse files Browse the repository at this point in the history
  • Loading branch information
michael2893 authored and chalin committed Jun 8, 2024
1 parent 57400a8 commit f1a7d4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 4 additions & 4 deletions content/en/docs/collector/deployment/multiple-collectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ report on the same data can lead to data loss or, at least, degraded data
quality. In gateway collector deployments, applying this principle guards
against sending inconsistent data to the backend. All metric data streams within
OTLP must have a
[single writer](/docs/specs/otel/metrics/data-model/#single-writer). In a system
with multiple collectors, the single-writer principle is most relevant for
receivers that create their own metrics, such a pull-based scrapers or a host
metrics receiver.
[single writer](/docs/specs/otel/metrics/data-model/#single-writer).
In a system with multiple collectors, the single-writer principle is most
relevant for receivers that create their own metrics, such a pull-based scrapers
or a host metrics receiver.

### Deployment Considerations

Expand Down
8 changes: 0 additions & 8 deletions content/en/docs/concepts/sampling/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,3 @@ For the individual language specific implementations of the OpenTelemetry API &
SDK you will find support for sampling at the respective documentation pages:

{{% sampling-support-list " " %}}

### Single-Writer Principle

When scaling collectors for distributed tracing with tail sampling, it's important to consider
the Single-Writer Principle. This principle ensures a single logical writer makes sampling decisions for a
particular trace, avoiding conflicts that might arise from multiple collectors evaluating the same trace for
sampling. Techniques like using load balancing exporters in front of tail-sampling collectors can help achieve this.

0 comments on commit f1a7d4b

Please sign in to comment.