From 5ceeb45e3bd8548c4b63e3ceef6621294a07dd6c Mon Sep 17 00:00:00 2001 From: Zen-cronic <83657429+Zen-cronic@users.noreply.github.com> Date: Sun, 2 Jun 2024 17:18:20 -0400 Subject: [PATCH] refactor(examples/http): use new exported string constants for semconv --- examples/http/tracer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/http/tracer.js b/examples/http/tracer.js index 82dbca2f70a..07de8a86379 100644 --- a/examples/http/tracer.js +++ b/examples/http/tracer.js @@ -4,7 +4,7 @@ const opentelemetry = require('@opentelemetry/api'); const { registerInstrumentations } = require('@opentelemetry/instrumentation'); const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node'); const { Resource } = require('@opentelemetry/resources'); -const { SemanticResourceAttributes } = require('@opentelemetry/semantic-conventions'); +const { SEMRESATTRS_SERVICE_NAME } = require('@opentelemetry/semantic-conventions'); const { SimpleSpanProcessor } = require('@opentelemetry/sdk-trace-base'); const { JaegerExporter } = require('@opentelemetry/exporter-jaeger'); const { ZipkinExporter } = require('@opentelemetry/exporter-zipkin');