Skip to Content
ReferenceObservabilityProvidersNew Relic

New Relic ✅

New Relic is a comprehensive observability platform that supports OpenTelemetry (OTLP) for full-stack monitoring.

Configuration ✅

To use New Relic with Kastrax via OTLP, configure these environment variables:

OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.nr-data.net:4317 OTEL_EXPORTER_OTLP_HEADERS="api-key=your_license_key"

Implementation ✅

Here’s how to configure Kastrax to use New Relic:

import { Kastrax } from "@kastrax/core"; export const kastrax = new Kastrax({ // ... other config telemetry: { serviceName: "your-service-name", enabled: true, export: { type: "otlp", }, }, });

Dashboard ✅

View your telemetry data in the New Relic One dashboard at one.newrelic.com

Last updated on