Skip to content

Instrument Your Application

Subscription required

This section describes functionality which requires an active DeepCube subscription. Start your subscription by choosing the plan right for you.

Send traces, metrics, and logs from your application to DeepCube using standard OpenTelemetry. No proprietary SDKs required - use the same open-source libraries the industry relies on.

Quick Configuration

All you need is your OTLP endpoint and API key:

Setting Value
Endpoint https://otlp.deepcube.ai
Protocol grpc (default) or http/protobuf
API Key Header api-key: YOUR-API-KEY

Get your API key by logging in at portal.deepcube.ai, then go to Administration > Grids and click Instrument on your Grid.

Environment Variables

The fastest way to configure any OpenTelemetry SDK is with environment variables. These work across all languages:

Variable Value Description
OTEL_EXPORTER_OTLP_ENDPOINT https://otlp.deepcube.ai OTLP collector endpoint
OTEL_EXPORTER_OTLP_HEADERS api-key=YOUR-API-KEY Authentication header
OTEL_SERVICE_NAME your-service-name Identifies your service in DeepCube

Quick Start by Language

Choose your language to see the minimal configuration needed to start sending telemetry:

// Program.cs
builder.Services.AddOpenTelemetry()
    .WithTracing(tracing => tracing
        .AddAspNetCoreInstrumentation()
        .AddHttpClientInstrumentation()
        .AddOtlpExporter(options =>
        {
            options.Endpoint =