You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: appsignals-tests/contract-tests/src/test/java/software/amazon/opentelemetry/appsignals/test/jdbc/JdbcContractTestBase.java
Copy file name to clipboardExpand all lines: appsignals-tests/contract-tests/src/test/java/software/amazon/opentelemetry/appsignals/test/jdbc/JdbcMySQLTest.java
0 commit comments