Instrument Your Application¶
Subscription required
This section describes functionality which requires an active IAPM subscription. Start your subscription by choosing the plan right for you.
Connect your application to Immersive APM using OpenTelemetry. Most applications see data within 5 minutes.
Quick Configuration¶
All you need is your OTLP endpoint and API key:
| Setting | Value |
|---|---|
| Endpoint | https://otlp.iapm.app |
| API Key Header | API-Key: YOUR-API-KEY |
Get your API key from the Grids page by clicking Instrument on your grid.

Language Examples¶
Choose your language to see the OTLP exporter configuration:
// In your OpenTelemetry setup (Program.cs or Startup.cs)
.AddOtlpExporter(options =>
{
options.Endpoint = new Uri("https://otlp.iapm.app");
options.Headers = "API-Key=YOUR-API-KEY";
})
Full setup example:
builder.Services.AddOpenTelemetry()
.WithTracing(tracing => tracing
.AddAspNetCoreInstrumentation()
.AddHttpClientInstrumentation()
.AddOtlpExporter(options =>
{
options.Endpoint = new Uri("https://otlp.iapm.app");
options.Headers = "API-Key=YOUR-API-KEY";
}))
.WithMetrics(metrics => metrics
.AddAspNetCoreInstrumentation()
.AddOtlpExporter(options =>
{
options.Endpoint = new Uri("https://otlp.iapm.app");
options.Headers = "API-Key=YOUR-API-KEY";
}));
// Environment variables
OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.iapm.app
OTEL_EXPORTER_OTLP_HEADERS=API-Key=YOUR-API-KEY
Or programmatically:
# Environment variables
OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.iapm.app
OTEL_EXPORTER_OTLP_HEADERS=API-Key=YOUR-API-KEY
Or programmatically:
// Environment variables
OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.iapm.app
OTEL_EXPORTER_OTLP_HEADERS=API-Key=YOUR-API-KEY
Or programmatically:
// Environment variables
OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.iapm.app
OTEL_EXPORTER_OTLP_HEADERS=API-Key=YOUR-API-KEY
Or programmatically:
What Gets Collected¶
Once configured, OpenTelemetry automatically captures:
- Traces - Request flows across services
- Metrics - Performance measurements (latency, throughput, errors)
- Logs - Application log events (when configured)
Verify It's Working¶
- Deploy or run your instrumented application
- Generate some traffic (make a few requests)
- Open IAPM Web and select your grid
- Click Enter to see your telemetry data
Not seeing data?
- Verify your API key is correct
- Check that your application can reach
https://otlp.iapm.app - Ensure OpenTelemetry packages are installed and configured
- Look for errors in your application logs