Skip to content

Commit

Permalink
Add resource attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
amvanbaren committed Feb 22, 2024
1 parent d72af02 commit becefa1
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 becefa1

Please sign in to comment.