Skip to content

Fetching Prometheus metrics is slow and CPU-intensive #44

Description

@kriszyp

Problem

Profiling shows that the Prometheus metrics scrape endpoint is unexpectedly slow and consumes significant CPU — visibly impacting application performance during scrape intervals.

DataDog APM flamegraph shows the metrics collection path as a major hotspot. Needs investigation to identify whether the issue is in metric aggregation, serialization, or the underlying data queries.

🤖 Filed by Claude on behalf of Kris.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrom-jiraMigrated or originated from a Jira ticket

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions