June 24th 2024

Improved

OpenTelemetry gRPC endpoints

We just added gRPC support to our OpenTelemetry (OTel) ingestion endpoints. This means you can now send OTel traces using the default settings in the OTel collector, Go language and other SDKs that default to gRPC instead of HTTP/proto.

As per OTel conventions, the gRPC endpoint is hosted on port 4317.

Here's an example of sending traces to Checkly with the OTel collector using the default gRPC protocol.

receivers:
  otlp:
    protocols:
      http:
      grpc:
processors:
  batch:
  filter/checkly:
    traces:
      span:
        # remove all spans that the trace state doesn't have an object
        # which key is "checkly" and value is "true"
        - 'trace_state["checkly"] != "true"'
exporters:
  otlp/checkly:
    endpoint: "otel.eu-west-1.checklyhq.com:4317"
    headers:
      authorization: "${env:CHECKLY_OTEL_API_KEY}"
service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [filter/checkly, batch]
      exporters: [otlp/checkly]

OpenTelemetry tracing on Checkly is currently in beta. Head over to the dedicated OpenTelemetry section in the app to get started.

Check our docs for more information.

Questions or feedback? Join our Slack community.