Skip to content

Commit 2de74ac

Browse files
updates to docs
1 parent 0e59a8e commit 2de74ac

1 file changed

Lines changed: 0 additions & 73 deletions

File tree

tracing/opentelemetry.mdx

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -93,62 +93,6 @@ Then set the environment variable:
9393
export ZEROEVAL_API_KEY="your-api-key-here"
9494
```
9595

96-
## Advanced Configuration
97-
98-
### Custom Session Management
99-
100-
ZeroEval automatically creates sessions based on service attributes. You can customize this behavior by adding specific attributes:
101-
102-
```yaml
103-
processors:
104-
attributes:
105-
actions:
106-
# Custom session ID
107-
- key: zeroeval.session.id
108-
value: "custom-session-uuid"
109-
action: upsert
110-
# Custom session name
111-
- key: zeroeval.session.name
112-
value: "User Journey - Checkout Flow"
113-
action: upsert
114-
```
115-
116-
### Filtering and Sampling
117-
118-
To reduce data volume, configure sampling:
119-
120-
```yaml
121-
processors:
122-
probabilistic_sampler:
123-
sampling_percentage: 10 # Sample 10% of traces
124-
125-
service:
126-
pipelines:
127-
traces:
128-
receivers: [otlp]
129-
processors: [batch, attributes, probabilistic_sampler]
130-
exporters: [otlphttp]
131-
```
132-
133-
### Resource Detection
134-
135-
Automatically detect and add resource attributes:
136-
137-
```yaml
138-
processors:
139-
resourcedetection:
140-
detectors: [env, system, docker, k8s_node]
141-
system:
142-
hostname_sources: ["os"]
143-
144-
service:
145-
pipelines:
146-
traces:
147-
receivers: [otlp]
148-
processors: [resourcedetection, batch, attributes]
149-
exporters: [otlphttp]
150-
```
151-
15296
## Kubernetes Deployment
15397

15498
For Kubernetes environments, use this ConfigMap and Deployment:
@@ -249,23 +193,6 @@ spec:
249193
targetPort: 4318
250194
```
251195
252-
## Verifying Your Setup
253-
254-
Once configured, verify that traces are being sent to ZeroEval:
255-
256-
1. **Check Collector Logs**:
257-
```bash
258-
docker logs otel-collector
259-
# or for Kubernetes
260-
kubectl logs -l app=otel-collector
261-
```
262-
263-
2. **Monitor Collector Metrics**:
264-
Access the Prometheus metrics endpoint at `http://localhost:8888/metrics` to see export statistics.
265-
266-
3. **View Traces in ZeroEval**:
267-
Navigate to your [ZeroEval dashboard](https://app.zeroeval.com) to see incoming traces.
268-
269196
## Troubleshooting
270197
271198
### Authentication Errors

0 commit comments

Comments
 (0)