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

Update to use CustomMetricsOps #168

Merged
merged 13 commits into from
Sep 11, 2024

Conversation

dj707chen
Copy link
Contributor

@dj707chen dj707chen commented Jun 4, 2024

Adapt to change of http4s Add CustomMetricsOps:

To build a CustomMetricsOps[F, SL], replace method withCustomLabelsAndValues of Prometheus class with

def buildCustomMetricsOps[SL <: SizedSeq[String]](
      pCustomLabels: CustomLabels[SL]
  ): Resource[F, CustomMetricsOps[F, SL]]

Implement the original MetricsOps using EmptyCustomLabels.

@rossabaker rossabaker merged commit c5c6eb5 into http4s:series/0.24 Sep 11, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants