Skip to content

Commit 59662da

Browse files
committed
Moved API to internal directory
1 parent 6972f96 commit 59662da

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Comparing source compatibility of opentelemetry-instrumentation-api-2.17.0-SNAPSHOT.jar against opentelemetry-instrumentation-api-2.16.0.jar
2-
+++ NEW INTERFACE: PUBLIC(+) ABSTRACT(+) io.opentelemetry.instrumentation.api.instrumenter.InstrumentationCustomizer (not serializable)
2+
+++ NEW INTERFACE: PUBLIC(+) ABSTRACT(+) io.opentelemetry.instrumentation.api.internal.InstrumentationCustomizer (not serializable)
33
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
44
+++ NEW SUPERCLASS: java.lang.Object
55
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<REQUEST,RESPONSE> getAttributesExtractor()

instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/InstrumenterBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import io.opentelemetry.context.propagation.TextMapSetter;
2222
import io.opentelemetry.instrumentation.api.internal.ConfigPropertiesUtil;
2323
import io.opentelemetry.instrumentation.api.internal.EmbeddedInstrumentationProperties;
24+
import io.opentelemetry.instrumentation.api.internal.InstrumentationCustomizer;
2425
import io.opentelemetry.instrumentation.api.internal.InstrumenterBuilderAccess;
2526
import io.opentelemetry.instrumentation.api.internal.InstrumenterUtil;
2627
import io.opentelemetry.instrumentation.api.internal.SchemaUrlProvider;
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,20 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
package io.opentelemetry.instrumentation.api.instrumenter;
6+
package io.opentelemetry.instrumentation.api.internal;
77

8+
import io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor;
9+
import io.opentelemetry.instrumentation.api.instrumenter.ContextCustomizer;
10+
import io.opentelemetry.instrumentation.api.instrumenter.OperationMetrics;
811
import java.util.function.Predicate;
912

1013
/**
1114
* A service provider interface (SPI) for providing customizations for instrumentation, including
1215
* operation metrics, attributes extraction, and context customization.
1316
*
1417
* <p>This allows external modules or plugins to contribute custom logic for specific instrumented
15-
* libraries, without modifying core instrumentation code.
18+
* libraries, without modifying core instrumentation code. This class is internal and is hence not
19+
* for public use. Its APIs are unstable and can change at any time.
1620
*/
1721
public interface InstrumentationCustomizer {
1822

0 commit comments

Comments
 (0)