Skip to content

Commit

Permalink
refactor(examples/http): actually use new exported string constants f…
Browse files Browse the repository at this point in the history
…or semconv
  • Loading branch information
Zen-cronic committed Jun 3, 2024
1 parent bf7bfcb commit f0764cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/http/tracer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const EXPORTER = process.env.EXPORTER || '';
module.exports = (serviceName) => {
const provider = new NodeTracerProvider({
resource: new Resource({
[SemanticResourceAttributes.SERVICE_NAME]: serviceName,
[SEMRESATTRS_SERVICE_NAME]: serviceName,
}),
});

Expand Down

0 comments on commit f0764cc

Please sign in to comment.