Skip to content

Commit

Permalink
implement service.instance.id as per semantic conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Feb 26, 2024
1 parent 5ce9871 commit 9cde2bc
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 645 deletions.
1 change: 0 additions & 1 deletion sdk-extensions/autoconfigure/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ dependencies {
api(project(":sdk-extensions:autoconfigure-spi"))

implementation(project(":api:events"))
implementation("com.github.f4b6a3:uuid-creator:5.3.3")

annotationProcessor("com.google.auto.value:auto-value")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import io.opentelemetry.api.common.AttributeKey;
import io.opentelemetry.api.common.Attributes;
import io.opentelemetry.api.common.AttributesBuilder;
import io.opentelemetry.sdk.autoconfigure.internal.ServiceInstanceIdResourceProvider;
import io.opentelemetry.sdk.autoconfigure.internal.SpiHelper;
import io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties;
import io.opentelemetry.sdk.autoconfigure.spi.ConfigurationException;
Expand Down Expand Up @@ -107,8 +106,6 @@ static Resource configureResource(
result = result.merge(resourceProvider.createResource(config));
}

result = result.merge(ServiceInstanceIdResourceProvider.createResource(result.getAttributes()));

result = filterAttributes(result, config);

return resourceCustomizer.apply(result, config);
Expand Down

This file was deleted.

Loading

0 comments on commit 9cde2bc

Please sign in to comment.