All Downloads are FREE. Search and download functionalities are using the official Maven repository.

x-oracle-client.4.5.8.source-code.tracing.adoc Maven / Gradle / Ivy

There is a newer version: 5.0.0.CR2
Show newest version
The SQL client can trace query execution when Vert.x has tracing enabled.

The client reports the following _client_ spans:

- `Query` operation name
- tags
  - `db.system`: the database management system product
  - `db.user`: the database username
  - `db.instance`: the database instance
  - `db.statement`: the SQL query
  - `db.type`: _sql_

The default tracing policy is {@link io.vertx.core.tracing.TracingPolicy#PROPAGATE}, the client
will only create a span when involved in an active trace.

You can change the client policy with {@link io.vertx.sqlclient.SqlConnectOptions#setTracingPolicy},
e.g you can set {@link io.vertx.core.tracing.TracingPolicy#ALWAYS} to always report
a span:

[source,$lang]
----
{@link examples.SqlClientExamples#tracing01}
----




© 2015 - 2024 Weber Informatics LLC | Privacy Policy