Skip to content

Commit

Permalink
ci(k8s): probabilistic_sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Dec 4, 2023
1 parent 635647c commit 333f68f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .k8s/otel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ data:
- cpu
- memory
processors:
probabilistic_sampler:
sampling_percentage: 5
batch:
timeout: 5s
send_batch_max_size: 512
Expand Down Expand Up @@ -104,17 +106,25 @@ data:
disable_stacktrace: true
extensions: [ zpages, memory_ballast, health_check ]
pipelines:
traces/spanmetrics:
receivers: [ otlp ]
processors: [ probabilistic_sampler, memory_limiter, k8sattributes, resource, batch ]
exporters: [ spanmetrics ]
traces:
receivers: [ otlp ]
processors: [ k8sattributes, resource, memory_limiter, batch ]
exporters: [ otlp/tempo, otlp/oteldb, spanmetrics ]
processors: [ memory_limiter, k8sattributes, resource, batch ]
exporters: [ otlp/tempo, otlp/oteldb ]
logs:
receivers: [ otlp ]
processors: [ k8sattributes, resource, memory_limiter, batch ]
processors: [ memory_limiter, k8sattributes, resource, batch ]
exporters: [ otlp/oteldb ]
metrics:
receivers: [ otlp, k8s_cluster, spanmetrics ]
processors: [ k8sattributes, resource, memory_limiter, batch ]
processors: [ memory_limiter, k8sattributes, resource, batch ]
exporters: [ otlp/oteldb ]
metrics/spanmetrics:
receivers: [ spanmetrics ]
processors: [ probabilistic_sampler, memory_limiter, batch ]
exporters: [ otlp/oteldb ]
---
apiVersion: v1
Expand Down

0 comments on commit 333f68f

Please sign in to comment.