Skip to content

Commit

Permalink
Updates otel docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksym M committed Dec 10, 2023
1 parent 368da56 commit 98a23c9
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions sending-data/platforms/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,32 @@ order: -4

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

Get your public Baselime API key in the [Baselime console](https://console.baselime.io).
At Baselime we support two protocols for sending OpenTelemetry data to our platform:
- [HTTP](#http)
- [gRPC](#grpc)

---
## HTTP
For the best experience we recommend using one of our [OpenTelemetry distros](#baselime-opentelemetry-distros) for your language or framework.

Add the Baselime OpenTelemetry endpoint to your exporter:
+++HTTP
- Endpoint `https://otel.baselime.io/v1/`
- Header: `x-api-key: <BASELIME_API_KEY>`

---
## gRPC

Add the Baselime OpenTelemetry endpoint to your exporter:
- Endpoint `otel-grpc.baselime.io:4317`
- Header: `x-baselime-dataset: <YOUR_DATASET>` - the dataset to send the data to
+++gRPC
- Endpoint `grpc://grpc.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 Distributables
* [Python](https://github.com/baselime/python-opentelemetry)
* [Node](https://github.com/baselime/node-opentelemetry)
* [Go](https://github.com/baselime/go-opentelemetry)
* [Lambda](https://github.com/baselime/lambda-node-opentelemetry)

## Baselime Opentelemetry Distros
* [!ref icon="../../assets/images/logos/node.svg"](../languages/node.js.md)
* [!ref icon="../../assets/images/logos/python.svg"](../languages/python.md)
* [!ref icon="../../assets/images/logos/next.js.svg"](../languages/next.js.md)
* [!ref icon="../../assets/images/logos/logo_react_icon.svg"](../languages/react.md)
* [!ref icon="../../assets/images/logos/winston.png"](../languages/winston.md)

0 comments on commit 98a23c9

Please sign in to comment.