/oneuptime:add-opentelemetryfrom OneUptime
Add OpenTelemetry to an application and send its traces, metrics and logs to OneUptime. Use when someone asks to instrument an app, add tracing, logging or APM, or send OpenTelemetry data to OneUptime.
Ships in OneUptime. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
OneUptime takes telemetry over the OpenTelemetry Protocol (OTLP), so the app uses the standard OpenTelemetry SDK for its language. Nothing specific to OneUptime goes in the code: the exporter reads where to send and which key to use from environment variables.
The person's own instructions come before these steps: where they ask for something else, do what they ask.
Read the project: its language and framework, how it runs (a process, Docker, Kubernetes), and whether it already has OpenTelemetry or runs a Collector. If it does, change only where the data goes.
The person has to create this. No MCP tool or CLI command creates one:
It takes a Project Owner or Project Admin, or a role with the Create Telemetry Ingestion Key permission. On OneUptime Cloud, telemetry is billed per GB ingested, and a project on the Free plan needs a payment method first.
An ingestion key is not an API key. It only writes telemetry. Treat it as a secret: keep it in the app's secret store or environment, never in the code or in git, and do not ask the person to paste it into the conversation.
export OTEL_EXPORTER_OTLP_ENDPOINT="https://oneuptime.com/otlp"
export OTEL_EXPORTER_OTLP_HEADERS="x-oneuptime-token=YOUR_ONEUPTIME_INGESTION_KEY"
export OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"
export OTEL_SERVICE_NAME="my-service"
/v1/traces, /v1/metrics and /v1/logs to the endpoint. Do not add them yourself.OTEL_SERVICE_NAME is what the service is called in OneUptime. The service is created the first time it sends.https://oneuptime.com:443.oneuptime.com, such as https://oneuptime.example.com/otlp.OTEL_RESOURCE_ATTRIBUTES to deployment.environment=production.In Docker or Kubernetes, set these on the container, with the key in a secret, not in the image.
Quarkus reads QUARKUS_OTEL_EXPORTER_OTLP_ENDPOINT and its own names, not the variables above.
Use the language's standard OpenTelemetry SDK and its automatic instrumentation, and add it the way the project already manages dependencies.
@opentelemetry/sdk-node and @opentelemetry/auto-instrumentations-node, started in a file of its own that loads before the app, with node --import or node --require. NodeSDK reads the variables above and sends traces, metrics and logs.pip install opentelemetry-distro opentelemetry-exporter-otlp, then opentelemetry-bootstrap -a install, and start the app with opentelemetry-instrument. Set OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true to send records from Python's logging module too.Do not change what the app logs or add spans by hand until the automatic data is arriving.
Ask OneUptime whether it accepts the key. This changes nothing:
curl -i -H "x-oneuptime-token: YOUR_ONEUPTIME_INGESTION_KEY" \
https://oneuptime.com/otlp/v1/validate
200 with "valid": true means the key works. A 401 says why it does not: unknown, switched off or expired.
Then start the app and send it some traffic. OneUptime answers an export as soon as the data is queued, and it appears a few seconds later:
oneuptime MCP server connected, list_spans with a startTime filter, or list_logs with a time filter. Connecting an MCP client on OneUptime Cloud needs the Growth plan or higher. Sending telemetry does not.Read the exporter's log. Exporters drop a batch on 401, 402, 413, 415 and 422 instead of retrying it.
| What it logs | What it means | What to do |
|---|---|---|
401 | The key is missing, unknown or expired | Check that the header is x-oneuptime-token= followed by the Secret Key, with no quotes or spaces inside |
402 | OneUptime Cloud: the project is on the Free plan with no payment method | Add one under Project Settings → Billing and Invoices → Billing |
404 | The SDK posts to the wrong path | The endpoint ends in /otlp, with no trailing slash and no /v1/... |
413 | The batch is over the 4 MB limit | Send smaller batches |
422 | The key is disabled, or it is a Browser key | Turn it back on, or use a Server key |
| Connection errors | The SDK is using gRPC, or localhost | Set OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf, and check that the process really sees the variables |
Data under Unknown Service means OTEL_SERVICE_NAME is not set in that process.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/investigate-incidentInvestigate an active OneUptime incident. Find it, take ownership, read its logs, exceptions and traces, keep notes on it and resolve it. Use when someone asks what is broken, which incidents are open, or for help with an incident, an alert or an on-call page in OneUptime./set-up-monitoringSet up OneUptime monitors, who is paged, and a status page for a service. Use when someone asks to monitor a website, API, host or port with OneUptime, add uptime checks, be paged when it is down, or create a status page for what they run./use-oneuptime-cliUse the OneUptime CLI (@oneuptime/cli) in scripts and CI pipelines, with ONEUPTIME_API_KEY and ONEUPTIME_URL, where no MCP client is available. Use when someone wants a pipeline, cron job or shell script to read or change OneUptime records, acknowledge or resolve an incident, stop a deploy while an incident is open, or record a deploy.oneuptime@otelyssey is listed by using-system/otelyssey — review the source before installing
npx claudepluginhub using-system/otelyssey --plugin oneuptime