Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

sentry-micrometer PoC 4: Ignoring Metrics

未關閉
#6,150 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@adinauer 已經在處理了。

開始於 2026年9月23日。

評估

這個 Issue 還沒有評估資料。

描述

Java Platform: Java

When using a default setup of Spring Boot + Actuator + Micrometer, the auto emitted logback.events and log4j2.events metrics can be high volume and start slowing down the application. Other Metrics may also be dropped due to one (or more) high volume metrics.

Screenshot 2026-09-22 at 14.53.53.png

This is a flaw in how Sentry Java SDK currently buffers metrics by simply taking each increment as a separate entry. This means a high volume metrics can cause other metrics to no longer make it to Sentry.

As a first step and workaround we want to offer a Sentry.metrics().ignoredMetrics() option that allows customers to easily configure which metrics (by name) should not be sent to Sentry.

In the future we should revisit this. One solution could be to start accumulating metrics, see https://github.com/getsentry/sentry-java/issues/6151

主要語言
Kotlin
星號
1.4k
分支
478
平均合併
2 天 20 小時
30 天內合併 PR
71

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getsentry/sentry-java 的其他 Issue

查看 getsentry/sentry-java 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。