Skip to content

Commit

Permalink
Added jdbc observations section
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Jan 17, 2024
1 parent 35852c1 commit be1596e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/modules/ROOT/pages/reference/db.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,20 @@

Micrometer can instrument various libraries that interact with databases

* <<db-datasource, DataSource Instrumentation>>
* <<db-datasource-observation, DataSource Observation Instrumentation>>
* <<db-datasource, DataSource Metrics Instrumentation>>
* <<db-jooq, jOOQ Instrumentation>>
* <<db-postgres, PostgreSQL Instrumentation>>

[[db-datasource-observation]]
== DataSource Observation Instrumentation

Through the https://github.com/jdbc-observations/datasource-micrometer[Datasource Micrometer] project you can instrument your `Datasource` to start producing https://docs.micrometer.io/micrometer/reference/observation.html[Observations] while interacting with the database. That means that depending on your Observation Handler setup you can plug in producing of metrics or distributed tracing.

You can read more about Datasource Micrometer https://jdbc-observations.github.io/datasource-micrometer/docs/current/docs/html/[reference documentation] here.

[[db-datasource]]
== DataSource Instrumentation
== DataSource Metrics Instrumentation

[source,java,subs=+attributes]
-----
Expand Down

0 comments on commit be1596e

Please sign in to comment.