# OpenTelemetry SDK

Traces and metrics straight from your app.

Traces Metrics Available

[Open the Connect card in Epok](https://app.epok.cloud/#/connect) [Full setup guide](https://epok.cloud/docs/install/traces)

## What you get

Traces and metrics, arriving through OTLP over HTTP.

## Set it up

1. Create an ingest key in Epok: Settings, then API keys.
2. Set the four OpenTelemetry environment variables from the setup page: endpoint, protocol http/protobuf, headers with the key, and service name.
3. Start your service with your language's auto-instrumentation (Node, Python, Java or Go).
4. Send a request through the service and open it in Traces.

The commands and configuration for each step are on the [setup guide](https://epok.cloud/docs/install/traces).

## What was tested

- The published setup, run against a local copy of Epok's ingest stack: 2 runs.
- No run against the hosted service is recorded yet.

## What you see in Epok

- Services and Traces: request rate, errors and latency per service and endpoint, and each trace's span tree.
- Metrics: browse, chart and alert on every series by its labels.

## Troubleshooting

- Agents that default to gRPC send nothing Epok accepts. Set OTEL\_EXPORTER\_OTLP\_PROTOCOL=http/protobuf.
- Per-service request rate, errors and latency are derived from your spans: no spanmetrics connector is needed.

## More in Languages

[JSON over HTTP](https://epok.cloud/integrations/json-api)
