Skip to content

Commit

Permalink
chore: Add service version to OTEL_RESOURCE_ATTRIBUTES (#1594)
Browse files Browse the repository at this point in the history
* chore: Add service version to OTEL_RESOURCE_ATTRIBUTES

* changelog
  • Loading branch information
julianocosta89 committed Jun 5, 2024
1 parent 2ca2be6 commit d75c9d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_
PUBLIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:8080/otlp-http/v1/traces

# OpenTelemetry Resource Definitions
OTEL_RESOURCE_ATTRIBUTES="service.namespace=opentelemetry-demo"
OTEL_RESOURCE_ATTRIBUTES=service.namespace=opentelemetry-demo,service.version=${IMAGE_VERSION}

# Metrics Temporality
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ the release.
([#1585](https://github.com/open-telemetry/opentelemetry-demo/pull/1585))
* [kafka] Increase memory and Java heap limits
([#1592](https://github.com/open-telemetry/opentelemetry-demo/pull/1592))
* chore: Add service version to OTEL_RESOURCE_ATTRIBUTES
([#1594](https://github.com/open-telemetry/opentelemetry-demo/pull/1594))

## 1.9.0

Expand Down

0 comments on commit d75c9d8

Please sign in to comment.