Skip to content

Commit

Permalink
Fix names of the Bolt driver metrics (#1385)
Browse files Browse the repository at this point in the history
Separate Bolt driver metrics from the Bolt metrics.
Fix names of the Bolt driver metrics according to the codebase.
For details, see neo-technology/neo4j#22339.
These metrics were added as a new metric class.

---------

Co-authored-by: Reneta Popova <[email protected]>
  • Loading branch information
NataliaIvakina and renetapopova committed Feb 1, 2024
1 parent 4c7ba17 commit 4b659c1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions modules/ROOT/pages/monitoring/metrics/reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,18 @@ By default, database metrics include:
|<prefix>.bolt.response_success|(unsupported feature) When `internal.server.bolt.response_metrics` is enabled, number of `encounteredsuccess` responses. (counter)
|<prefix>.bolt.response_ignored|(unsupported feature) When `internal.server.bolt.response_metrics` is enabled, number of `encounteredignored` responses (counter)
|<prefix>.bolt.response_failed|(unsupported feature) When `internal.server.bolt.response_metrics` is enabled, number of `encounteredinstances` of a given error code. (counter)
|<prefix>.bolt_driver.managed_transaction_function_calls|The total number of managed transaction function calls. (counter)
|<prefix>.bolt_driver.unmanaged_transaction_calls|The total number of un-managed transaction function calls. (counter)
|<prefix>.bolt_driver.implicit_transaction_calls|The total number of implicit transaction function calls. (counter)
|<prefix>.bolt_driver.execute_calls|The total number of driver-level execute function calls. (counter)
|===

[[bolt-driver-metrics]]
.Bolt Driver metrics label:new[Introduced in 5.13]

[options="header",cols="<3m,<4"]
|===
|Name |Description
|<prefix>.dbms.bolt_driver.api.managed_transaction_function_calls|The total number of managed transaction function calls. (counter)
|<prefix>.dbms.bolt_driver.api.unmanaged_transaction_calls|The total number of unmanaged transaction function calls. (counter)
|<prefix>.dbms.bolt_driver.api.implicit_transaction_calls|The total number of implicit transaction function calls. (counter)
|<prefix>.dbms.bolt_driver.api.execute_calls|The total number of driver-level execute function calls. (counter)
|===

[[checkpointing-metrics]]
Expand Down

0 comments on commit 4b659c1

Please sign in to comment.