Skip to content

metriki-r2d2-v0.1.0

Compare
Choose a tag to compare
@sunng87 sunng87 released this 13 Oct 14:55
· 127 commits to master since this release
4f9fe06

The initial release of metriki instrumentation for r2d2.

This module provides metrics support for r2d2 and diesel database connection pool. It monitors performance and usage of your database connections. The release has metrics for:

  • Histogram to record connection borrow time
  • Meter to measure connection borrow rate, aka database qps
  • Histogram to record connection usage time, aka the time to execute your db query
  • Meter to measure connection borrow failure rate

These metrics are useful for tracking performance of database-driven applications, together with APIs-level metrics.

For more information, check docs.rs.