The APM Client current doesn't have access to a logger. This means we can't add logging for our customers, or move forward on our long term plans for "logging as self instrumentation".
In order to fix this we should
Consider a logger for the APM client
Determine how, if at all, this logger interacts with the Agent's logger
Be extra considerate of perf. concerns, as the client can often be a "hot path" for high throughput applications
One the logger's in place, we should also consider places we may want to add logs. For example -- our cautions check on _encodedMetadata when we're 95% certain is should already be set.
The APM Client current doesn't have access to a logger. This means we can't add logging for our customers, or move forward on our long term plans for "logging as self instrumentation".
In order to fix this we should
One the logger's in place, we should also consider places we may want to add logs. For example -- our cautions check on
_encodedMetadata
when we're 95% certain is should already be set.