界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

sentry-observability

sentry-observability

【数据与研究】Execute integrate Sentry with observability stack. Use when connecting Sentry to logging, metrics, APM tools, or building unified observability dashboards. Trigger with phrases like "sentry observability", "sentry logging integration", "sentry metrics", "sentry datadog integration".

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: sentry-observability description: | Execute integrate Sentry with observability stack. Use when connecting Sentry to logging, metrics, APM tools, or building unified observability dashboards. Trigger with phrases like "sentry observability", "sentry logging integration", "sentry metrics", "sentry datadog integration". allowed-tools: Read, Write, Edit, Grep version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io

Sentry Observability

Prerequisites

  • Existing observability stack (logging, metrics, APM)
  • Trace ID correlation strategy
  • Dashboard platform (Grafana, Datadog, etc.)
  • Alert routing defined

Instructions

  1. Integrate logging library to send errors to Sentry as breadcrumbs
  2. Add request ID tags for log correlation in Sentry scope
  3. Track custom metrics using Sentry setMeasurement in transactions
  4. Correlate with Prometheus by adding sentry_event_id label
  5. Add APM trace IDs to Sentry events in beforeSend hook
  6. Enable OpenTelemetry integration for automatic trace correlation
  7. Create Grafana dashboard panels using Sentry API data
  8. Configure PagerDuty integration for alert escalation
  9. Add context links (logs, APM) to Slack alert templates
  10. Establish consistent trace ID tagging across all observability tools

Output

  • Sentry integrated with logging system
  • Metrics correlated with error events
  • Distributed traces connected across tools
  • Unified observability dashboard

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources

我的收藏