Skip to content

Metrics Stopped reporting in 7.9.0 #3472

Description

@tjerkw

Integration

sentry

Java Version

eclipse-temurin:11-jre

Version

7.9.0

Steps to Reproduce

Implement metrics with 7.8.0, it works:

 Sentry.metrics().increment(
                counter.key,
                value.toDouble(),
                null,
                attributes,
            )

Then upgrade to 7.9.0, and now metrics are only sent once per day, instead of when they happen.

Expected Result

When a metric is recorded it should be send to the server.

Now we only receive 3 metrics every 24 hours.. Instead of 20 metrics in realtime.

Actual Result

Metrics are not showing up in realtime, and a lot of them are dropped.

This is the configuration:

  Sentry.init { options ->
                options.dsn =.... (the correct DSN)
                options.release = "1.0"
                options.environment = "DEV"
                if (!SystemEnvironment.environment.isLive) {
                    options.isEnableMetrics = true
                }
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssue type

    Projects

    Status
    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions