Skip to content

Optionally Recording time metrics as Prometheus Histograms #17

Description

@ahinh43

Currently Trend metrics are handled and converted into Summary metric types when scraped by a Prometheus server. I was wondering if it would be feasible to swap the Prometheus metric type for Trend metrics that have a Time ValueType over to a Histogram metric instead of a summary. Perhaps as an optional toggle to avoid breaking existing configurations and tests?

I'm finding in my use case that while summary metrics are nice for all of the http request duration metrics but the use case I've been working with has been leaning more towards needing histogram metrics for latencies over summary.

Loving the project so far though. This is great!

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions