Environment variables
This page lists the environment variables the collector distribution (skep-otelcol) reads. You run the collectors in your own environment. Skep runs the control plane for you, so you never set its variables.
Collector distribution
Section titled “Collector distribution”The skep-otelcol image, the deb and rpm packages and the skep-collector Helm chart read these variables. The configurations Skep generates refer to them as ${env:NAME}, so keys never appear in a configuration file.
| Variable | Used by | Meaning |
|---|---|---|
SKEP_API_KEY |
Every install | The collector key (skc_). It can only register the collector and upload observations. Secret |
SKEP_ENDPOINT |
Built-in profiles, the packages’ default configuration, the Helm chart | Your Skep URL, such as https://app.skep.observer. Install guides for Docker and Linux write the URL into the configuration instead |
SKEP_ENVIRONMENT |
Built-in profiles, the chart, the OpAMP supervisor | Environment name. The built-in profiles default to production |
SKEP_COLLECTOR_NAME |
Built-in profiles, the chart, the OpAMP supervisor | How the collector is named in Skep. Default: the host name |
SKEP_FLEET |
The chart, the OpAMP supervisor | The fleet the collector joins. Skep creates it on first sight |
SKEP_TIER |
The chart, the OpAMP supervisor | The collector’s role: edge or gateway |
SKEP_OPAMP_ENDPOINT |
The OpAMP supervisor (managed fleets) | Where the supervisor connects, such as wss://app.skep.observer/v1/opamp |
SKEP_OTLP_ENDPOINT |
The chart, with backend.type=otlp |
Your OTLP backend’s URL |
SKEP_GATEWAY_ENDPOINT |
The chart, agents with backend.type=gateway |
The gateway collectors’ address (host:port) |
HONEYCOMB_API_KEY |
Configurations that export to Honeycomb | The Honeycomb ingest key for the environment the data lands in. Secret |
SKEP_SELF_TELEMETRY_HEADERS |
Configurations with self-telemetry turned on | Headers the collector’s own telemetry endpoint needs, as name=value pairs separated by commas (values percent-encoded). Secret. Leave unset when it needs none |
GOMEMLIMIT |
The systemd units and the chart | Go memory limit. Set to 400MiB under a 512 MiB memory limit, the size the generated queues assume. Raise both together |
Where to set them
Section titled “Where to set them”- Docker: pass each with
-e, for example-e SKEP_API_KEY=skc_.... - Linux packages:
/etc/skep-otelcol/skep-otelcol.env, readable only by root and theskep-otelcolgroup. Bothskep-otelcol.serviceandskep-otelcol-supervisor.serviceread it. - Kubernetes: the chart sets the non-secret variables from its values (
skep.endpoint,skep.environment,skep.collectorName,skep.fleet,skep.tier,backend.otlpEndpoint,backend.gatewayEndpoint) and readsSKEP_API_KEYandHONEYCOMB_API_KEYfrom an existing Secret (skep.existingSecret, defaultskep-otelcol). Add others withextraEnv.
See Install on Kubernetes, Install on Linux and Install with Docker.