Skip to content

Commit

Permalink
Updates OTEL docs to remove difference in headers between http and gRPC
Browse files Browse the repository at this point in the history
  • Loading branch information
Lastin committed Mar 4, 2024
1 parent 4a2a76b commit 09f8a3e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions sending-data/platforms/opentelemetry/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ order: -4

If your codebase is already instrumented with [OpenTelemetry](https://opentelemetry.io/), you can start sending your traces, metrics and logs to Baselime today.

Add the Baselime OpenTelemetry endpoint to your exporter:
**Step 1:** Get `BASELIME_API_KEY` from the [Baselime console](https://console.baselime.io).

**Step 2:** Set the headers
```yaml
x-api-key: <BASELIME_API_KEY>
x-baselime-dataset: <YOUR_DATASET>
```
**Step 3:** Set exporter endpoint
+++HTTP
- Endpoint `otel.baselime.io/v1/`
- Header: `x-api-key: <BASELIME_API_KEY>`
- Header: `x-baselime-dataset: <YOUR_DATASET>` - the dataset to send the data to
+++gRPC
- Endpoint `otel-ingest.baselime.io:4317`
- Header: `api-key: <BASELIME_API_KEY>`
- Header: `io.baselime.dataset: <YOUR_DATASET>` - the dataset to send the data to
+++

!!!
Get your public Baselime API key in the [Baselime console](https://console.baselime.io).
!!!

---
## Baselime Opentelemetry for Platforms
[!ref icon="../../../assets/images/logos/logo_aws_lambda.png"](../../platforms/aws/aws-lambda/traces/index.md)
Expand Down

0 comments on commit 09f8a3e

Please sign in to comment.