Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
janstenpickle committed Aug 2, 2023
1 parent 352ab62 commit 83f24b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/interface/metric-factory.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The following examples assume that you have the following imports in scope and t
import cats.effect._
import prometheus4cats._

val metricRegistry: MetricRegistry.WithExemplers[IO] = MetricRegistry.WithExemplers.noop[IO]
val metricRegistry: MetricRegistry[IO] = MetricRegistry.noop[IO]
val callbackRegistry: CallbackRegistry[IO] = CallbackRegistry.noop[IO]
val registry: MetricRegistry[IO] with CallbackRegistry[IO] = null
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metrics/primitive-metric-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Histograms also support [exemplars], to obtain a counter with exemplar support u
[`MetricFactory`]:

```scala mdoc:silent
val histogram = factory
factory
.exemplarHistogram("my_histogram")
.ofDouble
.help("Metric description")
Expand Down

0 comments on commit 83f24b3

Please sign in to comment.