Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.
TypeScript agent-harnessagent-harness-engineeringai-engineeringai-observabilityamd-gpuclaude-codeclickhousecodexcoding-agentcoding-agentscursorgenaigpu-monitoringllm-observabilityllmopsnvidia-smiobservabilityopen-sourceopenaiopentelemetry
docs: add Dash0 as observability destination (#985)
Kasper Borg Nissene6b2b3a025ba
diff --git a/docs/docs.json b/docs/docs.jsonindex c51639cf..dedadc5b 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -292,6 +292,7 @@"latest/sdk/destinations/prometheus-tempo","latest/sdk/destinations/prometheus-jaeger","latest/sdk/destinations/datadog",+ "latest/sdk/destinations/dash0","latest/sdk/destinations/signoz","latest/sdk/destinations/new-relic","latest/sdk/destinations/dynatrace",@@ -360,7 +361,8 @@"latest/operator/destinations/prometheus-tempo","latest/operator/destinations/prometheus-jaeger","latest/operator/destinations/datadog",- "latest/operator/destinations/signoz",+ "latest/operator/destinations/dash0",+ "latest/operator/destinations/signoz","latest/operator/destinations/newrelic","latest/operator/destinations/dynatrace","latest/operator/destinations/elastic",diff --git a/docs/images/dash0-metrics.png b/docs/images/dash0-metrics.pngnew file mode 100644index 00000000..74e07583Binary files /dev/null and b/docs/images/dash0-metrics.png differdiff --git a/docs/images/dash0-traces.png b/docs/images/dash0-traces.pngnew file mode 100644index 00000000..fe7e2caeBinary files /dev/null and b/docs/images/dash0-traces.png differdiff --git a/docs/latest/operator/architecture.mdx b/docs/latest/operator/architecture.mdxindex b2455f71..d4161b4f 100644--- a/docs/latest/operator/architecture.mdx+++ b/docs/latest/operator/architecture.mdx@@ -379,5 +379,5 @@ Support for custom instrumentation through:### Integration Points- **OpenTelemetry Collectors**: Send telemetry to any OTLP endpoint-- **Observability Platforms**: Compatible with Jaeger, Prometheus, Grafana, etc.+- **Observability Platforms**: Compatible with Jaeger, Prometheus, Grafana, Dash0, etc.- **Service Meshes**: Works alongside Istio, Linkerd, and other meshesdiff --git a/docs/latest/operator/destinations/dash0.mdx b/docs/latest/operator/destinations/dash0.mdxnew file mode 100644index 00000000..a8aa6ab9--- /dev/null+++ b/docs/latest/operator/destinations/dash0.mdx@@ -0,0 +1,12 @@+---+title: 'Dash0'+description: 'LLM Observability with Dash0 and OpenLIT'+---++import Intro from '/snippets/destinations/dash0/intro.mdx';+import Operator from '/snippets/destinations/dash0/operator.mdx';+import Conclusion from '/snippets/destinations/dash0/conclusion.mdx';++<Intro />+<Operator />+<Conclusion />diff --git a/docs/latest/operator/destinations/overview.mdx b/docs/latest/operator/destinations/overview.mdxindex 2471fffa..2161fd25 100644--- a/docs/latest/operator/destinations/overview.mdx+++ b/docs/latest/operator/destinations/overview.mdx@@ -2640,6 +2640,36 @@ The OpenLIT Operator can send AI observability data (traces, metrics, logs) from}></Card>+ <Card+ title="Dash0"+ href="/latest/operator/destinations/dash0"+ icon={+ <svg viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg">+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M 41.795802,64.2042 C 41.795802,87.2874 23.083165,106 0,106 V 22.40855 c 23.083165,0 41.795802,18.71245 41.795802,41.79565 z M 86.203419,106 C 109.28658,106 128,87.2874 128,64.2042 128,41.121 109.28658,22.40855 86.203419,22.40855 63.120254,22.40855 44.407775,41.121 44.407775,64.2042 44.407775,87.2874 63.120254,106 86.203419,106 Z"+ fill="url(#dash0_gradient_operator)"+ />+ <defs>+ <linearGradient+ id="dash0_gradient_operator"+ x1="27.4104"+ y1="65.8713"+ x2="91.827202"+ y2="99.041298"+ gradientUnits="userSpaceOnUse"+ gradientTransform="matrix(1.5673406,0,0,1.5673406,-42.318197,-36.10544)"+ >+ <stop offset="0.276887" stopColor="#F74B48" />+ <stop offset="0.747422" stopColor="#F9745D" />+ <stop offset="1" stopColor="#F88F64" />+ </linearGradient>+ </defs>+ </svg>+ }+ ></Card>+<Cardtitle="SigNoz"href="/latest/operator/destinations/signoz"diff --git a/docs/latest/sdk/destinations/dash0.mdx b/docs/latest/sdk/destinations/dash0.mdxnew file mode 100644index 00000000..ecdbca6d--- /dev/null+++ b/docs/latest/sdk/destinations/dash0.mdx@@ -0,0 +1,12 @@+---+title: 'Dash0'+description: 'LLM Observability with Dash0 and OpenLIT'+---++import Intro from '/snippets/destinations/dash0/intro.mdx';+import SDK from '/snippets/destinations/dash0/sdk.mdx';+import Conclusion from '/snippets/destinations/dash0/conclusion.mdx';++<Intro />+<SDK />+<Conclusion />diff --git a/docs/latest/sdk/destinations/overview.mdx b/docs/latest/sdk/destinations/overview.mdxindex 37ba910d..f32154fd 100644--- a/docs/latest/sdk/destinations/overview.mdx+++ b/docs/latest/sdk/destinations/overview.mdx@@ -2640,6 +2640,36 @@ The OpenLIT SDK can send AI observability data (traces, metrics, logs) from LLMs}></Card>+ <Card+ title="Dash0"+ href="/latest/sdk/destinations/dash0"+ icon={+ <svg viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg">+ <path+ fillRule="evenodd"+ clipRule="evenodd"+ d="M 41.795802,64.2042 C 41.795802,87.2874 23.083165,106 0,106 V 22.40855 c 23.083165,0 41.795802,18.71245 41.795802,41.79565 z M 86.203419,106 C 109.28658,106 128,87.2874 128,64.2042 128,41.121 109.28658,22.40855 86.203419,22.40855 63.120254,22.40855 44.407775,41.121 44.407775,64.2042 44.407775,87.2874 63.120254,106 86.203419,106 Z"+ fill="url(#dash0_gradient)"+ />+ <defs>+ <linearGradient+ id="dash0_gradient"+ x1="27.4104"+ y1="65.8713"+ x2="91.827202"+ y2="99.041298"+ gradientUnits="userSpaceOnUse"+ gradientTransform="matrix(1.5673406,0,0,1.5673406,-42.318197,-36.10544)"+ >+ <stop offset="0.276887" stopColor="#F74B48" />+ <stop offset="0.747422" stopColor="#F9745D" />+ <stop offset="1" stopColor="#F88F64" />+ </linearGradient>+ </defs>+ </svg>+ }+ ></Card>+<Cardtitle="SigNoz"href="/latest/sdk/destinations/signoz"diff --git a/docs/latest/sdk/integrations/overview.mdx b/docs/latest/sdk/integrations/overview.mdxindex b087339f..04c70d2a 100644--- a/docs/latest/sdk/integrations/overview.mdx+++ b/docs/latest/sdk/integrations/overview.mdx@@ -2791,7 +2791,7 @@ Start integrating and monitoring your applications with OpenLIT in just one lineDeployment options for scalable LLM monitoring infrastructure</Card><Card title="Destinations" href="/latest/sdk/destinations/overview" icon='link'>- Send telemetry to Datadog, Grafana, New Relic, and other observability stacks+ Send telemetry to Datadog, Grafana, New Relic, Dash0, and other observability stacks</Card></CardGroup><Carddiff --git a/docs/latest/sdk/overview.mdx b/docs/latest/sdk/overview.mdxindex 45f119f4..35d94262 100644--- a/docs/latest/sdk/overview.mdx+++ b/docs/latest/sdk/overview.mdx@@ -12,7 +12,7 @@ It includes upstream OpenTelemetry instrumentations for HTTP frameworks, clients- **Zero Code AI Observability** - Enable production-ready LLM monitoring for your AI applications **without any code changes**.-- **OpenTelemetry Native** - Built on OpenTelemetry standards for seamless integration with existing observability stacks like Grafana, Datadog, and New Relic.+- **OpenTelemetry Native** - Built on OpenTelemetry standards for seamless integration with existing observability stacks like Grafana, Datadog, New Relic, and Dash0.- **Drop-in Replacement** - Simply replace `opentelemetry-instrument` with `openlit-instrument` to get the same functionality plus comprehensive AI capabilities.@@ -93,7 +93,7 @@ Select from the following guides to learn more about production AI monitoring:Deployment options for scalable LLM monitoring infrastructure</Card><Card title="Destinations" href="/latest/sdk/destinations/overview" icon='link'>- Send telemetry to Datadog, Grafana, New Relic, and other observability stacks+ Send telemetry to Datadog, Grafana, New Relic, Dash0, and other observability stacks</Card></CardGroup><Carddiff --git a/docs/snippets/destinations/dash0/conclusion.mdx b/docs/snippets/destinations/dash0/conclusion.mdxnew file mode 100644index 00000000..44ad36c0--- /dev/null+++ b/docs/snippets/destinations/dash0/conclusion.mdx@@ -0,0 +1,11 @@+### 3. View your telemetry in Dash0++Once your AI application starts sending telemetry data, you can explore it in Dash0:++1. **Traces**: Navigate to Traces to view your AI application traces with LLM calls, prompts, completions, and token usage+1. **Services**: Check Services to monitor your AI service performance, error rates, and latency+1. **Metrics**: Explore metrics for token usage, costs, and AI-specific KPIs+1. **Dashboards**: Create custom dashboards to track token consumption, model performance, and business metrics+1. **Query**: Use PromQL-based queries to filter and analyze telemetry by model, token usage, or errors++Your OpenLIT-instrumented AI applications will appear automatically in Dash0 with comprehensive observability including LLM costs, token usage, model performance, and GPU metrics.diff --git a/docs/snippets/destinations/dash0/intro.mdx b/docs/snippets/destinations/dash0/intro.mdxnew file mode 100644index 00000000..952e5bb4--- /dev/null+++ b/docs/snippets/destinations/dash0/intro.mdx@@ -0,0 +1,34 @@+<Frame>+ <img src="/images/dash0-traces.png" />+</Frame>++<Frame>+ <img src="/images/dash0-metrics.png" />+</Frame>++To send OpenTelemetry metrics and traces generated by OpenLIT from your AI Application to Dash0, follow the below steps.++### 1. Dash0 Setup++```mermaid+graph LR+ A[AI Application<br/>Instrumented by OpenLIT] --> B[OpenTelemetry Collector<br/>or Dash0 OTLP Endpoint]+ B --> C[Dash0]+```++<Note>+**Prerequisites**: You'll need a Dash0 account and authorization token. [Sign up at dash0.com](https://www.dash0.com) for a 14-days free trial, if you don't have an account yet.+</Note>++#### Get your Dash0 credentials++1. Log into your Dash0 account+2. Navigate to **Organization Settings** → **Auth Tokens**+3. Create a new token or copy an existing one+4. Note your Dash0 OTLP ingestion endpoint (e.g., `ingress.eu-west-1.aws.dash0.com:4318` for HTTP or `:4317` for gRPC)+5. Your token will be in the format `Bearer auth_xxxxx...`++<Note>+You can send telemetry directly to Dash0's OTLP endpoint, or route it through an OpenTelemetry Collector for additional processing and filtering.+</Note>+diff --git a/docs/snippets/destinations/dash0/operator.mdx b/docs/snippets/destinations/dash0/operator.mdxnew file mode 100644index 00000000..1a4bf7f0--- /dev/null+++ b/docs/snippets/destinations/dash0/operator.mdx@@ -0,0 +1,84 @@+### 2. Instrument your application+**For Kubernetes deployments with zero-code instrumentation:**++#### Option 1: Direct to Dash0 Endpoint++```yaml+apiVersion: openlit.io/v1alpha1+kind: AutoInstrumentation+metadata:+ name: dash0-instrumentation+ namespace: default+spec:+ selector:+ matchLabels:+ instrument: "true"+ python:+ instrumentation:+ provider: "openlit"+ version: "latest"+ otlp:+ endpoint: "https://ingress.eu-west-1.aws.dash0.com:4318"+ headers:+ Authorization: "Bearer auth_your_token_here"+ timeout: 30+ resource:+ environment: "production"+ serviceName: "my-ai-service"+```++<Note>+Replace `ingress.eu-west-1.aws.dash0.com:4318` with your Dash0 ingestion endpoint and `auth_your_token_here` with your actual Dash0 authorization token.+</Note>++#### Option 2: Via OpenTelemetry Collector++For more advanced scenarios with filtering, batching, or multi-destination routing, deploy an OpenTelemetry Collector:++```yaml+apiVersion: openlit.io/v1alpha1+kind: AutoInstrumentation+metadata:+ name: dash0-instrumentation+ namespace: default+spec:+ selector:+ matchLabels:+ instrument: "true"+ python:+ instrumentation:+ provider: "openlit"+ version: "latest"+ otlp:+ endpoint: "http://otel-collector.opentelemetry.svc.cluster.local:4318"+ timeout: 30+ resource:+ environment: "production"+ serviceName: "my-ai-service"+```++Configure your OpenTelemetry Collector to forward to Dash0:++```yaml+exporters:+ otlp/dash0:+ auth:+ authenticator: bearertokenauth/dash0+ endpoint: ingress.eu-west-1.aws.dash0.com:4317++extensions:+ bearertokenauth/dash0:+ scheme: Bearer+ token: ${env:DASH0_AUTH_TOKEN}++service:+ extensions:+ - bearertokenauth/dash0+ pipelines:+ traces:+ exporters:+ - otlp/dash0+```++Refer to the [OpenLIT Operator Documentation](/latest/operator/overview) for more advanced configurations and use cases.+diff --git a/docs/snippets/destinations/dash0/sdk.mdx b/docs/snippets/destinations/dash0/sdk.mdxnew file mode 100644index 00000000..85933c27--- /dev/null+++ b/docs/snippets/destinations/dash0/sdk.mdx@@ -0,0 +1,84 @@+### 2. Instrument your application+ <Tabs>+ <Tab title="SDK">+ **For direct integration into your Python applications:**++ <Tabs>+ <Tab title="Function Arguments">+ ```python+ import openlit++ openlit.init(+ otlp_endpoint="https://ingress.eu-west-1.aws.dash0.com:4318",+ otlp_headers={"Authorization": "Bearer auth_your_token_here"}+ )+ ```++ Replace:+ 1. `ingress.eu-west-1.aws.dash0.com:4318` with your Dash0 ingestion endpoint+ 2. `auth_your_token_here` with your Dash0 authorization token+ </Tab>++ <Tab title="Environment Variables">+ ```python+ import openlit++ openlit.init()+ ```++ Set these environment variables:+ ```shell+ export OTEL_EXPORTER_OTLP_ENDPOINT="https://ingress.eu-west-1.aws.dash0.com:4318"+ export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer auth_your_token_here"+ ```++ Replace:+ 1. `ingress.eu-west-1.aws.dash0.com:4318` with your Dash0 ingestion endpoint+ 2. `auth_your_token_here` with your Dash0 authorization token+ </Tab>+ </Tabs>++ Refer to the OpenLIT [Python SDK repository](https://github.com/openlit/openlit/tree/main/sdk/python) for more advanced configurations and use cases.+ </Tab>++ <Tab title="CLI">+ **For zero-code auto-instrumentation via command line:**++ <Tabs>+ <Tab title="CLI Arguments">+ ```shell+ # Using CLI arguments+ openlit-instrument \+ --otlp-endpoint "https://ingress.eu-west-1.aws.dash0.com:4318" \+ --otlp-headers "Authorization=Bearer auth_your_token_here" \+ --service-name "my-ai-service" \+ --deployment-environment "production" \+ python app.py+ ```++ Replace:+ 1. `ingress.eu-west-1.aws.dash0.com:4318` with your Dash0 ingestion endpoint+ 2. `auth_your_token_here` with your Dash0 authorization token+ </Tab>++ <Tab title="Environment Variables">+ ```shell+ # Set environment variables (takes precedence over CLI args)+ export OTEL_EXPORTER_OTLP_ENDPOINT="https://ingress.eu-west-1.aws.dash0.com:4318"+ export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer auth_your_token_here"+ export OTEL_SERVICE_NAME="my-ai-service"+ export OTEL_DEPLOYMENT_ENVIRONMENT="production"++ # Run your application+ openlit-instrument python app.py+ ```++ Replace:+ 1. `ingress.eu-west-1.aws.dash0.com:4318` with your Dash0 ingestion endpoint+ 2. `auth_your_token_here` with your Dash0 authorization token+ </Tab>+ </Tabs>++ Refer to the OpenLIT [Python SDK repository](https://github.com/openlit/openlit/tree/main/sdk/python) for more advanced configurations and use cases.+ </Tab>+ </Tabs>