Skip to content
Codeskop

OpenTelemetry

Already using OpenTelemetry, or working in a language without a Codeskop SDK (.NET, Ruby, Rust, Elixir)? Point your OTLP exporter at Codeskop and get the same errors, requests and API calls views.

Beta

Traces and logs over OTLP/HTTP, protobuf or JSON. Metrics and gRPC aren't accepted.

Set up

.env
OTEL_EXPORTER_OTLP_ENDPOINT=https://api.codeskop.com/v1/otlpOTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer cs_live_pk_…OTEL_EXPORTER_OTLP_PROTOCOL=http/protobufOTEL_SERVICE_NAME=checkout

Use the project's public key. Set service.version and deployment.environment.name resource attributes to see releases and environments.

What becomes what

OptionTypeDescription
Server spansHTTP or RPCIncoming requests, by http.route (Network page, Requests your servers receive).
Client spansHTTPOutgoing API calls and failures (APIs your apps call).
exception span eventsrecordExceptionIssues, with stack traces and the request they happened in.
Error and fatal logsseverity ≥ ERRORIssues. exception.* attributes give the class and stack trace; otherwise the log message.
Everything elseInternal spans and lower-severity logs are accepted and dropped.

Request and API call monitoring follow the network monitoring and sampling on your plan, like the SDKs. Failed requests and errors are always kept. Exporter retries are de-duplicated. API Trust needs one of the Codeskop SDKs.