File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
doc-snippets/api/src/main/java/otel Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 66public 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. */
You can’t perform that action at this time.
0 commit comments