Skip to content

Commit 8173682

Browse files
committed
noop to no-op
1 parent d799e04 commit 8173682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc-snippets/api/src/main/java/otel/GlobalOpenTelemetryNativeInstrumentationUsage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
public class GlobalOpenTelemetryNativeInstrumentationUsage {
77

88
public static void globalOpenTelemetryUsage(OpenTelemetry openTelemetry) {
9-
// Initialized with OpenTelemetry from java agent if present, otherwise noop implementation.
9+
// Initialized with OpenTelemetry from java agent if present, otherwise no-op implementation.
1010
MyClient client1 = new MyClientBuilder().build();
1111

1212
// Initialized with an explicit OpenTelemetry instance, overriding the java agent instance.
@@ -30,7 +30,7 @@ private MyClient(OpenTelemetry openTelemetry) {
3030
/** Builder for {@link MyClient}. */
3131
public static class MyClientBuilder {
3232
// OpenTelemetry defaults to the GlobalOpenTelemetry instance if set, e.g. by the java agent or
33-
// by the application, else to a noop.
33+
// by the application, else to a no-op implementation.
3434
private OpenTelemetry openTelemetry = GlobalOpenTelemetry.getOrNoop();
3535

3636
/** Explicitly set the OpenTelemetry instance to use. */

0 commit comments

Comments
 (0)