Skip to content

Conversation

@SylvainJuge
Copy link
Member

Fixes #833

Adds support for:

  • ELASTIC_OTEL_OPAMP_HEADERS configuration option
  • elastic.otel.opamp.headers java system property

Bonus:

  • simplify a bit the OpAMP logging on startup.
  • rename "configurationEndpoint" to "endpointUrl"

@SylvainJuge SylvainJuge self-assigned this Oct 21, 2025
@SylvainJuge SylvainJuge requested a review from a team as a code owner October 21, 2025 12:52
LikeTheSalad
LikeTheSalad previously approved these changes Oct 21, 2025
return serviceName;
}
Map<String, String> resourceMap = properties.getMap("otel.resource.attributes");
if (resourceMap != null) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for review: here we can simplify a bit because an empty map is returned, we never get a null collection (now covered by tests).

LikeTheSalad
LikeTheSalad previously approved these changes Oct 21, 2025
@SylvainJuge SylvainJuge merged commit d5d78d9 into elastic:main Oct 21, 2025
16 checks passed
@SylvainJuge SylvainJuge deleted the opamp-headers branch October 21, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add support for ELASTIC_OTEL_OPAMP_HEADERS

2 participants