[
https://issues.apache.org/jira/browse/IGNITE-29229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18136337#comment-18136337
]
Ignite TC Bot commented on IGNITE-29229:
----------------------------------------
{panel:title=Branch: [pull/13772/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/13772/head] Base: [master] : New Tests
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Basic 1{color} [[tests
2|https://ci2.ignite.apache.org/viewLog.html?buildId=9457427]]
* {color:#013220}IgniteBasicTestSuite:
GridMetricManagerAssertionMetricTest.testMetricMetadata - PASSED{color}
* {color:#013220}IgniteBasicTestSuite:
GridMetricManagerAssertionMetricTest.testAssertionErrorMetric - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9457574&buildTypeId=IgniteTests24Java8_RunAll]
{color:#ffffff}tcbot-analysis-comment chainBuildId=9457574
rerunBuildIds=9463445{color}
> Add AssertionErrorCount monitoring metric to detect AssertionError
> occurrences in the JVM
> -----------------------------------------------------------------------------------------
>
> Key: IGNITE-29229
> URL: https://issues.apache.org/jira/browse/IGNITE-29229
> Project: Ignite
> Issue Type: New Feature
> Reporter: Egor Baranov
> Assignee: Egor Baranov
> Priority: Major
> Labels: metrics, monitoring
>
> There is currently no way to detect AssertionError occurrences in the node
> JVM. These errors are frequently swallowed by catch (Throwable) blocks (500+
> in the codebase), making them
> invisible during test runs.
> This change adds a LongAdderMetric named sys.AssertionErrorCount to
> GridMetricManager. The metric is backed by a JFR jdk.JavaErrorThrow event
> consumer (RecordingStream) that listens
> for thrown java.lang.AssertionError events and increments the counter.
> The stream is started/stopped with the manager lifecycle.
> The metric is exposed through all standard export channels (SQL metrics
> system view, JMX, REST) and requires no JVM agent.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)