Endpoint Configuration
When sending spans from an OpenTelemetry SDK or Collector, you must include the Insight Hub API key as a subdomain in the URL:
- gRPC:
https://MY_API_KEY.my.otlp.server:4317
- HTTP:
https://MY_API_KEY.my.otlp.server:4318/v1/traces
When configuring OpenTelemetry SDKs, you sometimes need to omit the path (/v1/traces
) as the SDKs append this. See the per-platform integration guides for details.
The HTTP endpoint can also be accessed on port 443, the default HTTPS port.
Your API key can either be a project-level or an organization-level API key. The project-level API key can be found in Project settings in the dashboard. The organization-level endpoint, including API key, is available under Organization settings.
The organization-level API key is designed for use with an OpenTelemetry Collector. When using the organization-level API key, you need to tell BugSnag which project a span should be assigned to – see below.