Skip to content

Commit

Permalink
Merge pull request #2382 from amvanbaren/otel-resource-attributes
Browse files Browse the repository at this point in the history
Add resource attributes
  • Loading branch information
amvanbaren committed Feb 22, 2024
2 parents d72af02 + becefa1 commit 0970786
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions configuration/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ management:
tracing:
sampling:
probability: 1.0 # TODO lower to 0.1 for production
otel:
resource:
attributes:
opentelemetry:
resource-attributes:
"[service.name]": ${spring.application.name}
"[deployment.environment]": ${ENVNAME}
"[service.instance.id]": ${HOSTNAME}
Expand Down

0 comments on commit 0970786

Please sign in to comment.