Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/registry: Use dynamic dispatch and remove type parameter M #100

Closed
wants to merge 2 commits into from

Commits on Sep 29, 2022

  1. src/registry: Use dynamic dispatch and remove type parameter M

    Instead of being generic over the metric type on `Registry`, use dynamic
    dispatch.
    
    On the upside this significantly simplifies type signatures exposed to the user.
    On the downside this requires users to always use dynamic dispatch and requires
    all metrics to implement auxiliary trait `Debug` and auto traits `Send` and
    `Sync`.
    mxinden committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    c1bb0e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2022

  1. Merge branch 'master' of https://github.com/prometheus/client_rust in…

    …to dyn-disp-metric
    mxinden committed Oct 2, 2022
    Configuration menu
    Copy the full SHA
    ef379f2 View commit details
    Browse the repository at this point in the history