Trace 与性能

安装 OpenTelemetry or any Sentry SDK

任何设置了 tracesSampleRate 的 Sentry SDK 发送的事务都会自动出现在性能页面。OpenTelemetry SDK 和 Collector 通过 OTLP/HTTP JSON 将 trace 导出到 https://in.blipit.io/v1/traces。

1OpenTelemetry SDK

ini
OTEL_EXPORTER_OTLP_ENDPOINT=https://in.blipit.io
OTEL_EXPORTER_OTLP_PROTOCOL=http/json
OTEL_EXPORTER_OTLP_HEADERS=x-blipit-key=<public key>
OTEL_SERVICE_NAME=my-service

2OpenTelemetry Collector

yaml
exporters:
  otlphttp/blipit:
    endpoint: https://in.blipit.io
    encoding: json
    headers:
      x-blipit-key: <public key>

须知

  • 暂不支持 Protobuf;请将协议保持为 http/json。
  • 每个请求最多 1,000 个 span。每月 span 数:Free 100 万,Solo 500 万,Team 2000 万,Scale 1 亿;Free 和 Solo 保留 7 天,Team 和 Scale 保留 30 天。

遇到问题?发邮件至 support@blipit.io。每个项目的密钥和确切的 DSN 在 app.blipit.io 的“API 密钥”下。