We support sending spans to other places (as well as the Trigger.dev dashboard).
import { defineConfig } from "@trigger.dev/sdk/v3"; import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-proto';
// Initialize OTLP trace exporter with the endpoint URL and headers
const axiomExporter = new OTLPTraceExporter({ url: 'https://api.axiom.co/v1/traces', headers: { 'Authorization': Bearer ${process.env.AXIOM_API_TOKEN}, 'X-Axiom-Dataset': process.env.AXIOM_DATASET }, });
export default defineConfig({ //.. other stuff telemetry:
{ exporters: [axiomExporter], },
});It would be good if you could create a log exporter and logs would be sent.
In Review
π‘ Feature Request
12 months ago

mattaitken
Get notified by email when there are changes.
In Review
π‘ Feature Request
12 months ago

mattaitken
Get notified by email when there are changes.