Releases: francoposa/tower-otel-http-metrics
Releases · francoposa/tower-otel-http-metrics
v0.16.0
What's Changed
- Breaking: upgrade to
opentelemetryversion0.30 - add development README by @francoposa in #25
Full Changelog: v0.15.0...v0.16.0
v0.15.0
What's Changed
- Feat: custom metric attributes via request/response extractors by @tomharmon in #24
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
- Breaking: upgrade to
opentelemetryversion0.29 - examples: stop pulling in rt-tokio feature by @flokli in #22
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
- Breaking: Changes to
http.server.request.durationbuckets- change default bucket boundaries to capture longer requests - this part likely does not break most things, but consumers with request durations > 10 seconds will see new, higher values in their upper percentiles for this histogram.
- update constructor to allow consumers to override bucket boundaries - constructor now more closer follows builder pattern of other OTEL libraries
- Breaking: implement
http.server.response.body.sizemetric - in order to do this, the response body is now constrained tohttp_body::Body. This should not cause problems for the vast vast majority of cases, but the response body type was previously unconstrained.
Full Changelog: v0.12.0...v0.13.0
v0.12.0
- Breaking: Upgrade to
axumversion0.8- The latest
axumis a significant breaking change as noted in the announcement blog. For consumers of this library, this affects theaxumMatchedPathextractor used to determine thehttp.routelabel when applying this middleware to anaxumserver. - Using version 0.11.x of this middleware (which usesaxum 0.7) with anaxum 0.8server will not extract thehttp.routelabel, and vice versa for the reverse version mismatch.
- The latest
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
- upgrade to
opentelemetryversion0.28by @flokli in #17 - add
network.protocol.nameand network.protocol.versionattributes tohttp.server.request.body.size` metric - impl
Defaulttrait forHTTPMetricsLayerBuilder(using pre-existingdefaultmethod).
Full Changelog: v0.10.0...v0.11.0
v0.10.0
v0.9.0
v0.9.0 is stamped for:
- addition of
http.server.active_requestsandhttp.server.request.body.size - Breaking: fixing explicit bucket boundaries on
http.server.request.durationhistogram after the OTEL units changed frommstos - add OTEL spec metric names and units to instrument descriptors
Thanks & credit to @hardbyte for the contributions.
v0.8.0
v0.8.0 is stamped to be compatible with the opentelemetry dependency version 0.26
v0.7.1
v0.7.1 is stamped to be compatible with the tower version 0.5
not bumping the minor version because I have not been able to find any incompatibilities in the tower 0.4 -> 0.5 upgrade that are utilized by this library
note: opentelemetry 0.25 libraries still use tonic 0.12 which is still utilizing tower 0.4, so this may result in multiple tower versions in your dependency tree