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 6, 2023
1 parent 2da49d2 commit 368da56
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 328 deletions.
2 changes: 1 addition & 1 deletion api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ The response will return an array containing the list of environments the develo

### Send events to Baselime

Once you have obtained the public API for an environment, it can be used to send events to Baselime, either using the [Events API](../sending-data/events-api.md) or the [OpenTelemetry API](../sending-data/platforms/opentelemetry/http.md).
Once you have obtained the public API for an environment, it can be used to send events to Baselime, either using the [Events API](../sending-data/events-api.md) or the [OpenTelemetry API](../sending-data/platforms/opentelemetry.md).
2 changes: 1 addition & 1 deletion sending-data/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Baselime supports a variety of data sources, including logs, metrics, traces, an
[!ref icon="../assets/images/logos/aws.svg"](./platforms/aws/index.md)
[!ref icon="../assets/images/logos/vercel.png"](./platforms/vercel.md)
[!ref icon="../assets/images/logos/cloudflare.png"](./platforms/cloudflare/index.md)
[!ref icon="../assets/images/logos/logo_open_telemetry.png"](platforms/opentelemetry/http.md)
[!ref icon="../assets/images/logos/logo_open_telemetry.png"](platforms/opentelemetry.md)
[!ref icon="../assets/images/logos/render.png"](./platforms/render.md)
[!ref icon="../assets/images/logos/logo_docker_icon.png"](./platforms/docker.md)
[!ref icon="../assets/images/logos/koyeb.png"](./platforms/koyeb.md)
Expand Down
29 changes: 29 additions & 0 deletions sending-data/platforms/opentelemetry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
label: OpenTelemetry
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).

---
## HTTP

Add the Baselime OpenTelemetry endpoint to your exporter:
- 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: `api-key: <BASELIME_API_KEY>`

---
## 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)
310 changes: 0 additions & 310 deletions sending-data/platforms/opentelemetry/grpc.md

This file was deleted.

16 changes: 0 additions & 16 deletions sending-data/platforms/opentelemetry/http.md

This file was deleted.

0 comments on commit 368da56

Please sign in to comment.