Skip to content

Commit

Permalink
Fix typography at sample code in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tkmsaaaam authored and ttddyy committed Nov 29, 2023
1 parent b1c8fec commit b29ae27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/getting-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ To setup the observation for JDBC operations, xref:howto.adoc#how-to-instrument-
ObservationRegistry observationRegistry = ObservationRegistry.create();
ObservationConfig observationConfig = observationRegistry.observationConfig();
observationConfig.observationHandler(new ConnectionTracingObservationHandler(tracer));
observationConfig.observationHandler(new QueryTracingObservationHandler(tracer);
observationConfig.observationHandler(new QueryTracingObservationHandler(tracer));
observationConfig.observationHandler(new ResultSetTracingObservationHandler(tracer));
// add other necessary handlers
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/howto.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ There are 3 tracing observation handlers that react to the observations from `Da
----
ObservationRegistry registry = ...
registry.observationConfig().observationHandler(new ConnectionTracingObservationHandler(tracer));
registry.observationConfig().observationHandler(new QueryTracingObservationHandler(tracer);
registry.observationConfig().observationHandler(new QueryTracingObservationHandler(tracer));
registry.observationConfig().observationHandler(new ResultSetTracingObservationHandler(tracer));
----

Expand Down

0 comments on commit b29ae27

Please sign in to comment.