Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert extra spans for MySQlConnectorJ-8.4. (#888)
*Description of changes:* Assert extra spans for MySQlConnectorJ-8.4. When making a database query, Pulse agent leverage OTEL agent to intercept the database queries and send them to Cloud-watch agent. Then CloudWatch agent send all telemetry into Cloud-watch We noticed that there will be two separate EMF log entries, one without remote identifier and one with remote identifier, this extra EMF comes in due to extra telemetry traces that come with mysqlConnector version 8.4 > The feature is supported by [component_telemetry](https://dev.mysql.com/doc/refman/8.4/en/telemetry-trace-install.html). MySQL Connector/J 8.4.0 introduces the client-side counterpart feature, with the capability of propagating the context to the MySQL Server it connects to and allowing a more complete observability for an application stack. ([Ref](https://dev.mysql.com/doc/connector-j/en/connector-j-opentelemetry.html)) The following commit adds the extra assertion of asserting the extra SELECT span. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information