Integrations
Integrations
The fastest way to connect your app is to install the Kopai skills with npx skills add kopai-app/kopai-mono and ask your coding agent to add observability. It instruments your code with OpenTelemetry and confirms the data reaches Kopai, as the Quickstart shows. The guides below are the same setup by hand, and they also cover what the skills do not handle yet: browser JavaScript, Mastra, LangChain and infrastructure logs.
Languages
Section titled “Languages”Node.jsNode.js apps report traces and logs to Kopai through OpenTelemetry auto-instrumentation. Install the Kopai skills and your coding agent sets it up.
Browser / ReactTrace React, Vue, Angular or plain JavaScript in the browser with OpenTelemetry, using a Kopai frontend token that is safe to ship in your bundle.
PythonInstrument a Python service with OpenTelemetry and watch its traces and metrics arrive in Kopai. Your agent can do the setup through the Kopai skills.
GoSend Go traces to Kopai with the OpenTelemetry SDK and its OTLP HTTP exporter. Let your coding agent wire it up for you, or follow the manual steps.
JavaTrace Java apps in Kopai with zero code changes using OpenTelemetry's auto-instrumentation jar, or let your coding agent set it up with the Kopai skills.
.NETAdd OpenTelemetry to ASP.NET Core and export .NET traces, metrics and logs to Kopai. Wire it by hand, or leave it to your agent and the Kopai skills.
RubyRuby apps ship traces to Kopai with the OpenTelemetry SDK gems and optional auto-instrumentation. With the Kopai skills, your coding agent adds them.
PHPConnect a PHP app to Kopai with the OpenTelemetry SDK and OTLP exporter from Composer. Your coding agent sets it up once you add the Kopai skills.
RustExport Rust traces to Kopai using the opentelemetry, opentelemetry_sdk and opentelemetry-otlp crates. Ask your agent to do it, or follow this guide.
C++Link OpenTelemetry into C++ apps with CMake or vcpkg and export spans to Kopai over OTLP HTTP. Your agent can handle the build setup via the Kopai skills.
Erlang/ElixirErlang and Elixir services send traces to Kopai through the OpenTelemetry SDK and OTLP exporter. The Kopai skills let your agent do the wiring.
Frameworks
Section titled “Frameworks”Next.jsGet Next.js routes and server actions into Kopai with @vercel/otel or the full OpenTelemetry SDK. Or hand the job to your agent with the Kopai skills.
MastraSee Mastra agent runs, LLM calls, tool executions and workflow steps in Kopai by adding the @mastra/otel-exporter package and pointing it at your endpoint.
LangChainLangChain traces reach Kopai through LangSmith's OpenTelemetry export, with no SDK code and no LangSmith cloud. See chain runs, LLM calls and tools.
Infrastructure logs
Section titled “Infrastructure logs”journaldShip systemd journal logs to Kopai with the OpenTelemetry Collector's journald receiver. No code changes, no file tailing, no duplicates across restarts.
rsyslogForward syslog from legacy Linux services to Kopai through rsyslog and the OpenTelemetry Collector, without touching a line of the applications' code.