# Collectors

A collector sits next to your app, tails logs or scrapes metrics, and exports **OTLP/HTTP** to Talaria. Official SDKs can send errors and traces on their own; use a collector when you want file logs, host metrics, or a vendor-neutral pipeline.

## Pick a guide

| Situation | Guide |
| --- | --- |
| You already have an OTel SDK or collector | [OTLP/HTTP](https://docs.newtalaria.com/guides/collectors/otlp.md) |
| Kubernetes | [Kubernetes](https://docs.newtalaria.com/guides/collectors/kubernetes.md) |
| SiteHost PHP containers | [SiteHost containers](https://docs.newtalaria.com/guides/collectors/sitehost.md) |
| SiteHost case study (verification, assumptions, limits) | [SiteHost case study](https://docs.newtalaria.com/guides/collectors/sitehost-case-study.md) |
| Python, FastAPI, Java, Go, or .NET without a Talaria SDK | The [OpenTelemetry quickstarts](https://docs.newtalaria.com/guides.md) |

## Rules that apply everywhere

- Export **HTTP only** (`http/protobuf` recommended, `http/json` accepted). There is no gRPC ingest.
- Hosted ingest is `https://ingest-<cell>.newtalaria.com/otlp`. The nz1 example is `https://ingest-nz1.newtalaria.com/otlp`.
- Authenticate with `Authorization: Bearer` and a project key. **Logs** require a secret key with `logs:write`.
- Uncompressed bodies larger than **6 MiB** receive `413`.
- The CLI pins **otelcol-contrib 0.164.0** and writes HTTP/2 ping settings so idle connections through a proxy are redialled (`http2_read_idle_timeout: 10s`, `http2_ping_timeout: 5s`, `keepalive.idle_conn_timeout: 60s`).

Generate a config with `talaria collector` (see the [CLI](https://docs.newtalaria.com/cli.md)) instead of downloading a loose `otelcol.yaml`.
