Connecting OpenTelemetry (Preview)
Step-by-step guide to connecting OpenTelemetry observability data
This guide walks you through sending OpenTelemetry (OTel) data to Kosmos for correlation with your incidents and deployments.
Overview
Kosmos ingests traces, logs, and metrics via the OpenTelemetry Protocol (OTLP). Once connected, Kosmos correlates observability signals with your other data sources to surface root causes faster.
Preview Status: This integration is in Preview. Core functionality is stable, but we're actively refining the experience based on customer feedback.
Prerequisites
An OpenTelemetry Collector deployed in your environment
Network access from your collector to
https://ingest.kosmoslabs.aiAdmin access to Kosmos to generate an API key
Step 1: Generate Your API Key
In Kosmos, navigate to Settings → Integrations
Find the OpenTelemetry card and click Configure
Click Generate API Key
Copy both:
OTLP Endpoint:
https://ingest.kosmoslabs.ai/api/v1/otelAPI Key: Your unique key (starts with
kos_)
Keep your API key secure. You can regenerate it at any time, but doing so will invalidate the previous key.
Step 2: Configure Your Collector
Add Kosmos as an exporter in your OpenTelemetry Collector configuration. Select the config for your platform below.
Generic OTLP Exporter
Works with any OpenTelemetry Collector distribution.
Grafana Agent / Grafana Alloy
Datadog Agent
Datadog Agent receives OTLP locally, then forward to Kosmos via a sidecar collector.
In your datadog.yaml:
Then run a standalone OTel Collector with the generic config above to forward to Kosmos.
Splunk OpenTelemetry Collector
Add Kosmos as an additional exporter in your Splunk OTel config:
Dynatrace
Export from Dynatrace OneAgent via OpenTelemetry. Add to your OTel Collector config:
Configure Dynatrace OneAgent to export OTLP to this collector's endpoint.
AWS Distro for OpenTelemetry (ADOT)
Add Kosmos exporter to your ADOT config (otel-config.yaml):
For ECS/EKS, set the KOSMOS_API_KEY environment variable in your task definition.
Google Cloud Ops Agent
The Ops Agent doesn't natively support custom OTLP exports. Deploy a sidecar OTel Collector:
Install the OpenTelemetry Collector alongside Ops Agent
Configure Ops Agent to send OTLP to localhost:4317
Configure the OTel Collector with the generic config above
Alternatively, use Cloud Run or GKE with the standard OTel Collector.
Azure Monitor (Application Insights)
Azure Monitor exports via the Azure Monitor OpenTelemetry Distro. Add a sidecar collector:
Configure your application's OpenTelemetry SDK to export to both Azure and this collector.
New Relic
New Relic supports OTLP natively. Add Kosmos as a secondary destination via a collector:
Step 3: Test the Connection
Deploy your updated collector configuration
Return to Kosmos Settings → Integrations → OpenTelemetry
Click Test Connection
Verify the status changes:
Pending → Waiting for first data
Receiving → Data arriving, processing
Active → Connection established and healthy
The Last Data Received timestamp shows when Kosmos last ingested data from your collector.
Step 4: Verify in the Observability Tab
Once connected, navigate to Observability in the left sidebar.
You'll see:
Connected OTel data sources
Recent traces, logs, and metrics
Correlation status with your other signals
The Observability tab shows a (Preview) label indicating this feature is still being refined.
What Kosmos Does With Your Data
Kosmos processes OTel data in 15-minute batches to:
Extract error signatures from traces and logs
Correlate with incidents in Jira, Salesforce, ServiceNow, etc.
Link to deployments from GitHub/Bitbucket
Surface in RCAs as supporting evidence
Raw OTel data is retained for 7 days. Correlation metadata is retained with your other signals.
Troubleshooting
Connection stays "Pending"
Verify your collector can reach
https://ingest.kosmoslabs.aiCheck that your API key is correctly set in the
X-Kosmos-API-KeyheaderConfirm your collector is actually sending data (check collector logs)
"Unauthorized" errors
Regenerate your API key in Kosmos
Ensure the header format is
X-Kosmos-API-Key: kos_xxxxx
"Rate limited" errors
Default limit is 1,000 requests/minute per customer
Consider batching more data per request (up to 5MB per payload)
Contact your Kosmos team if you need higher limits
Data not appearing in correlations
OTel data is processed in 15-minute batches
Check the Observability tab to confirm data is arriving
Correlations appear when OTel signals match incidents in your connected systems
Revoking Access
To stop sending data to Kosmos:
Remove the Kosmos exporter from your collector configuration
In Kosmos, go to Settings → Integrations → OpenTelemetry
Click Revoke API Key
Revoking the API key immediately rejects any further data from that key.
Data Access
For details on what Kosmos ingests and retains, see Integration Permissions and Integration Limits.
Questions?
Contact your Kosmos team or email [email protected].
Questions? Contact [email protected] | app.kosmoslabs.ai
© 2026 Kosmos AI Labs, Inc.
Last updated
Was this helpful?

