Skip to content

Commit 0f9224f

Browse files
authored
docs: fix broken callout list structure in example blocks (#7148)
Signed-off-by: tkmsaaaam <[email protected]>
1 parent c57456e commit 0f9224f

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/modules/ROOT/pages/concepts/meter-filters.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Meter filters are applied in the order in which they are configured on the regis
7171
----
7272
registry.config()
7373
.meterFilter(MeterFilter.acceptNameStartsWith("http"))
74-
.meterFilter(MeterFilter.deny()); <1>
74+
.meterFilter(MeterFilter.deny());
7575
----
7676
====
7777

docs/modules/ROOT/pages/concepts/registry.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ composite.add(simple); <2>
3232
compositeCounter.increment(); <3>
3333
----
3434
35-
1. Increments are NOOP'd until there is a registry in the composite. The counter's count still yields 0 at this point.
36-
2. A counter named `counter` is registered to the simple registry.
37-
3. The simple registry counter is incremented, along with counters for any other registries in the composite.
35+
<1> Increments are NOOP'd until there is a registry in the composite. The counter's count still yields 0 at this point.
36+
<2> A counter named `counter` is registered to the simple registry.
37+
<3> The simple registry counter is incremented, along with counters for any other registries in the composite.
3838
====
3939

4040
== Global Registry
@@ -64,7 +64,7 @@ class MyApplication {
6464
}
6565
----
6666
67-
1. Wherever possible (and especially where instrumentation performance is critical), store `Meter` instances in fields to avoid a lookup on their name or tags on each use.
68-
2. When tags need to be determined from local context, you have no choice but to construct or lookup the Meter inside your method body. The lookup cost is just a single hash lookup, so it is acceptable for most use cases.
69-
3. It is OK to add registries _after_ meters have been created with code like `Metrics.counter(...)`. These meters are added to each registry, as it is bound to the global composite.
67+
<1> Wherever possible (and especially where instrumentation performance is critical), store `Meter` instances in fields to avoid a lookup on their name or tags on each use.
68+
<2> When tags need to be determined from local context, you have no choice but to construct or lookup the Meter inside your method body. The lookup cost is just a single hash lookup, so it is acceptable for most use cases.
69+
<3> It is OK to add registries _after_ meters have been created with code like `Metrics.counter(...)`. These meters are added to each registry, as it is bound to the global composite.
7070
====

0 commit comments

Comments
 (0)