Skip to content

Commit 5779b09

Browse files
Backport fixing typos in docs
See gh-5707
1 parent daab96e commit 5779b09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ Result result = job.execute();
4444
sample.stop(timerProvider.withTags("status", result.status())); <2>
4545
----
4646
<1> Definition of the `MeterProvider` for `Timer` with all the "static" fields necessary. Please note the `withRegistry` method call.
47-
<2> Definition of the dynamic tags. Note that only those tags are defined here that are dynamic and everying else is defined where the `MeterProvider` is created. The `withTags` method returns a `Timer` that is created using the tags defined in `withTags` plus everything else that is defined by the `MeterProvider`.
47+
<2> Definition of the dynamic tags. Note that only those tags are defined here that are dynamic and everything else is defined where the `MeterProvider` is created. The `withTags` method returns a `Timer` that is created using the tags defined in `withTags` plus everything else that is defined by the `MeterProvider`.
4848

4949
This and the previous example produce the same output, the only difference is the amount of boilerplate in your code and the amount of builder objects created in the heap.

docs/modules/ROOT/pages/reference/netty.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include::{include-java}/netty/NettyMetricsTests.java[tags=directInstrumentation,
1212
-----
1313

1414
Netty infrastructure can be configured in many ways, so you can also instrument lazily at runtime, as resources are used.
15-
The fllowing example shows how to lazily create instrumentation:
15+
The following example shows how to lazily create instrumentation:
1616

1717
[source,java,subs=+attributes]
1818
-----

0 commit comments

Comments
 (0)