How it works
Edge runs as a sidecar container in the same pod as your OTel Collector. The collector exports telemetry through Edge via localhost, which applies policies and forwards to your backend.Prerequisites
- OpenTelemetry Collector running on Kubernetes (via Helm or OpenTelemetry Operator)
kubectlaccess to your cluster- Tero account
Connect
1
Create an Edge API key
Open your terminal and run:Navigate to Edge → API Keys → Create. Name your key (e.g., “OTel Collector”). Copy the key when shown—it’s only displayed once.
2
Create the secret
Store your API key as a Kubernetes secret:
3
Create the Edge ConfigMap
Create a ConfigMap with your Edge configuration:
tero-edge-config.yaml
Set
upstream_url to your telemetry backend endpoint (e.g., Datadog, Splunk, Grafana Cloud).4
Add Edge as a sidecar
Add the Edge container to your collector deployment.The collector exports to
- OpenTelemetry Operator
- Helm
Add the sidecar to your
OpenTelemetryCollector CR:localhost:8080, which is the Edge sidecar. Edge applies policies and forwards to your configured upstream.5
Verify
Check that the collector pod has both containers running:Check Edge logs for incoming traffic:
Policy providers
Edge supports multiple policy sources. Configure them in thepolicy_providers
array in your ConfigMap.
File provider
Load policies from a local file. Good for static policies bundled in the ConfigMap.HTTP provider
Fetch policies from a remote endpoint. Good for dynamic policies managed via the Tero API.${TERO_API_KEY} variable is injected from the Kubernetes secret via the
container environment configuration.
Troubleshooting
Collector can’t reach Edge Verify both containers are running in the same pod:http://localhost:8080.
Policies not applying
Check Edge loaded policies successfully:
upstream_url in the ConfigMap points to your backend. Check Edge logs
for upstream connection errors.