Belemetry can't send errors to Sentry as Issues

オープン
#14,704 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@msynk がすでに取り組んでいます。

2026年11月7日 から。

評価

この issue はまだ評価されていません。

説明

Belemetry exports to OTLP and Azure Monitor. Sentry accepts OTLP traces and logs on Relay's /otlp/v1/traces and /otlp/v1/logs routes, but nothing it receives over OTLP becomes an Issue. Span events are dropped, and exception attributes on log records stay plain strings. getsentry/sentry-dotnet#5350 was closed as by design.

So an app that wants Sentry Issues has to run a Sentry SDK next to Belemetry, and every host ends up with two pipelines for errors. The bit Boilerplate does exactly that today on the server, in WebAssembly, on Windows and on MAUI.

With an errors exporter, one pipeline could carry everything: traces, logs and metrics over OTLP, and errors as Sentry error events. What it needs:

  • Exception records become error events posted to the envelope endpoint. The DSN key is public, so the page can post as well, the way Sentry's browser SDK does.
  • .NET frames carry the method token and IL offset plus a pe_dotnet debug image, so Symbolicator adds file and line from uploaded PDBs. Neither Relay nor Sentry parses stack strings.
  • JavaScript stacks are parsed for V8, SpiderMonkey and JavaScriptCore.
  • Each event carries its trace and span ids, so an Issue links to its trace.

Native crashes on Android, iOS and Mac Catalyst are out of Belemetry's reach. They still need the Sentry SDK, run as a crash reporter only: the core Sentry package rather than Sentry.Maui, with tracing off. On those platforms the exporter would send handled errors and leave crashes to that SDK.

主要言語
C#
スター
1.4k
フォーク
264
平均マージ
10時間 5分
マージ済み PR(30日)
501

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bitfoundation/bitplatform のほかの issue

bitfoundation/bitplatform の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。