Skip to content

Metrics not showing in the Sentry Dashboard #3132

@jamescrosswell

Description

@jamescrosswell

References

Problem summary

We don't see all of the metrics in Sentry that we see in Aspire, even though we're listening to all of these.

Aspire has all of these for example:
image

But in Sentry we're only seeing these:
image

Solution

It turns out the metric units used by many of the built in metrics include characters that are not valid in statsd.

I've added sanitization for metric units (similar to what we have for keys and values already) so that funky unit names can't break the resulting statsd envelope item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions