# OpenTelemetry Collector

Logs, traces and metrics over OTLP.

Logs Traces Metrics Available

[Open the Connect card in Epok](https://app.epok.cloud/#/connect?source=otel-collector) [Full setup guide](https://epok.cloud/docs/install/otel-collector)

## What you get

Logs, traces and metrics, arriving through OTLP over HTTP.

## Set it up

1. Create an ingest key in Epok: Settings, then API keys.
2. Add the otlphttp exporter from the setup page to your Collector configuration, with the key in the x-api-key header.
3. Add the exporter to your logs, traces and metrics pipelines and restart the Collector.
4. Search for the data in Explore, Traces and Metrics.

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

## What was tested

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

## What you see in Epok

- Explore and Live tail: search, patterns and new errors.
- 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

- 401 means the key is missing; 403 means the key is unknown.
- gzip and zstd compression are both accepted on all three paths.

## More in Agents & collectors

[Vector](https://epok.cloud/integrations/vector) [Filebeat](https://epok.cloud/integrations/filebeat) [Fluent Bit](https://epok.cloud/integrations/fluentbit-es) [Syslog](https://epok.cloud/integrations/syslog) [Host metrics](https://epok.cloud/integrations/host-metrics)
