Open
Description
Description
Agent implementation of specification change #766
Summary of the required changes:
- updating documentation in Enhance service correlation doc observability-docs#2731 to invite users to provide values for
service.version
andservice.environment
(by usingSERVICE_NAME
andENVIRONMENT
configurations respectively). - when ecs-logging library is used:
- agents provide fallback values if they are not set in ecs-logging configuration for:
service.name
,service.version
andservice.environment
. Giving priority to existing values (if any) avoids making this a breaking change. - (optional but highly recommended) if values from agent configuration and ecs-logging configuration differ, issuing a warning is relevant to inform end user that traces and logs can't be properly correlated.
- agents provide fallback values if they are not set in ecs-logging configuration for:
- when log reformatting (and log sending) is used:
- produced ECS logs should contain
service.name
,service.version
andservice.environment
with values from agent configuration.
- produced ECS logs should contain
Agent Issues
- [META 773] Service environment correlation apm-agent-java#3051
- [META 773] Service environment correlation apm-agent-dotnet#2033
- [META 773] Service environment correlation apm-agent-nodejs#3195
- [META 773] Service environment correlation apm-agent-python#1772
- [META 773] Service environment correlation apm-agent-go#1401
- [META 773] Service environment correlation apm-agent-php#879
- [META 773] Service environment correlation apm-agent-ruby#1374