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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Fields

    Priority

    P1

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions