From 8bb6befc5d1d5b6ed19f32e4d284c731a6f2ae58 Mon Sep 17 00:00:00 2001 From: cleverchuk Date: Wed, 13 Nov 2024 14:52:37 -0500 Subject: [PATCH] NH-93486: export traces using otlp --- .../opentelemetry/extensions/HostIdResourceProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom/src/main/java/com/solarwinds/opentelemetry/extensions/HostIdResourceProvider.java b/custom/src/main/java/com/solarwinds/opentelemetry/extensions/HostIdResourceProvider.java index 7774e8ae..c30a467d 100644 --- a/custom/src/main/java/com/solarwinds/opentelemetry/extensions/HostIdResourceProvider.java +++ b/custom/src/main/java/com/solarwinds/opentelemetry/extensions/HostIdResourceProvider.java @@ -48,6 +48,7 @@ package com.solarwinds.opentelemetry.extensions; +import com.google.auto.service.AutoService; import com.solarwinds.joboe.core.HostId; import com.solarwinds.joboe.core.util.ServerHostInfoReader; import io.opentelemetry.api.common.AttributeKey; @@ -59,6 +60,7 @@ import io.opentelemetry.semconv.ResourceAttributes; import java.util.function.BiConsumer; +@AutoService(ResourceProvider.class) public class HostIdResourceProvider implements ResourceProvider { @Override