cetra is in development and not released yet. Read the docs

Integrations

Works with your stack.

80 integrations and 2 migration guides, each with a setup page and tested against real traces or SDK tests. Anything else that speaks OpenTelemetry works too.

pip install "cetra-sdk[openai]" openai
import cetra
cetra.init(instrument=["openai"])
npm install @cetra-ai/sdk @arizeai/openinference-instrumentation-openai openai
import { init } from "@cetra-ai/sdk";
import { openai } from "@cetra-ai/sdk/openai";
import OpenAI from "openai";

init({ apiKey: process.env.CETRA_API_KEY, instrument: [openai(OpenAI)] });
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:8080
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer sk-cetra-…"
# then start any OpenTelemetry SDK or collector

OpenAI shown, abridged. Each integration's page has its own lines.

All integrations

Anything that speaks OpenTelemetry

Point any OTLP exporter at cetra: /v1/traces over HTTP, or gRPC on port 4317.