Skip to content

0.5.0

Compare
Choose a tag to compare
@Ptrskay3 Ptrskay3 released this 27 Nov 10:44
· 56 commits to master since this release
4601af8

Added

  • Support for response body size metric, which can be turned on via PrometheusMetricLayerBuilder::enable_response_body_size. [#33]
  • All metrics now are initialized via the metrics::describe_* functions by default, but can be turned off with PrometheusMetricLayerBuilder::no_initialize_metrics if you wish to do it manually. [#33]
  • Compatibility with http-body = "1.0" and axum = "0.7". [#36]

Changed

  • The lower-level Lifecycle API has changed: separated the OnBodyChunk trait, which is ran when a response body chunk has been generated. [#33]