getsentry / getsentry/sentry-java

Multi DSN per Java Application support

オープン
#2,736 コメント 12 件 リアクション 0 件 担当者 0 名 GitHub で見る
Improvement Java
主要言語
Kotlin
スター
1.4k
フォーク
478
平均マージ
2日 23時間
マージ済み PR(30日)
67

説明

### Problem Statement

I have a use case where I'd like to separate Projects by team with multiple DSNs in a single JVM application. I tried local testing of a workaround solution (https://github.com/getsentry/sentry-java/compare/feat/multi-dsn-playground) with custom ITransportFactory and EventProcessor which seemed to work. The only issue was that `RequestDetailsResolver` was package-private in the SDK, so my application didn't have access and I had to rewrite my own RequestDetailsResolver, DSN classes. `+ SentryClient.SENTRY_PROTOCOL_VERSION` within the RequestDetailsResolver was also unaccessible, so I have to hardcode the protocol version.

### Solution Brainstorm

Is it possible to make this class public?
https://github.com/getsentry/sentry-java/blob/main/sentry/src/main/java/io/sentry/RequestDetailsResolver.java#L10

コントリビューションガイド

コントリビューションガイドを開く

評価

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

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

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