Skip to content

Commit

Permalink
Merge pull request #2383 from amvanbaren/otlp-export
Browse files Browse the repository at this point in the history
Use old config props for resource attributes
  • Loading branch information
amvanbaren authored Feb 22, 2024
2 parents 0970786 + 513d4e5 commit ebca690
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions configuration/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ management:
tracing:
sampling:
probability: 1.0 # TODO lower to 0.1 for production
opentelemetry:
resource-attributes:
"[service.name]": ${spring.application.name}
"[deployment.environment]": ${ENVNAME}
"[service.instance.id]": ${HOSTNAME}
otlp:
metrics:
export:
resource-attributes:
"[service.name]": ${spring.application.name}
"[deployment.environment]": ${ENVNAME}
"[service.instance.id]": ${HOSTNAME}
org:
jobrunr:
job-scheduler:
Expand Down

0 comments on commit ebca690

Please sign in to comment.