Skip to content

Commit

Permalink
add lb exporter for scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
Anusha Narapureddy authored and Anusha Narapureddy committed Mar 11, 2024
1 parent 40f11ea commit 7d78b4c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
18 changes: 18 additions & 0 deletions 05-sampling.md
Expand Up @@ -113,6 +113,24 @@ prometheus-77f88ccf7f-dfwh2 1/1 Running 0 100m

```

```yaml
exporters:
debug:
verbosity: detailed
loadbalancing:
routing_key: "traceID"
protocol:
otlp:
timeout: 1s
tls:
insecure: true
resolver:
k8s:
service: otel-gateway.observability-backend
ports:
- 4317
```

<TODO: Add screenshot>

### Advanced Topic: Jaeger's Remote Sampling extension
Expand Down
2 changes: 1 addition & 1 deletion app/k8s.yaml
Expand Up @@ -70,7 +70,7 @@ spec:
spec:
containers:
- name: backend2
image: ghcr.io/pavolloffay/kubecon-eu-2024-opentelemetry-kubernetes-tracing-tutorial-backend2:latest
image: ghcr.io/pavolloffay/kubecon-eu-2024-opentelemetry-kubernetes-tracing-tutorial-backend4:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5165
Expand Down
3 changes: 2 additions & 1 deletion backend/05-collector-2.yaml
Expand Up @@ -27,6 +27,7 @@ spec:
debug:
verbosity: detailed
loadbalancing:
routing_key: "traceID"
protocol:
otlp:
timeout: 1s
Expand All @@ -51,7 +52,7 @@ spec:
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlp/traces]
exporters: [loadbalancing]
metrics:
receivers: [otlp]
exporters: [otlphttp/metrics]
Expand Down

0 comments on commit 7d78b4c

Please sign in to comment.