Skip to content

Releases: slok/go-http-metrics

v0.13.0

05 Sep 17:07
dab00f5
Compare
Choose a tag to compare

0.13.0 - 2024-09-05

Added

  • Added IgnoredPaths option to ignore measuring specific exact paths.

Changed

  • Dependency updates.
  • Use Go 1.23.

v0.12.0

19 Apr 11:06
3bddbe2
Compare
Choose a tag to compare

0.12.0 - 2024-04-19

Changed

  • Gin middleware now records the path using the regex from FullPath() instead of the real URL, avoiding cardinality explosion.
  • Dependency updates.
  • Use Go 1.22.

v0.11.0

20 Oct 06:56
b8dc327
Compare
Choose a tag to compare

0.11.0 - 2023-10-20

Changed

  • Update dependencies to latest versions.

Added

  • Support Iris library.

v0.10.0

16 Nov 06:35
9382ede
Compare
Choose a tag to compare

0.10.0 - 2021-11-16

Added

  • Support Fasthttp library.
  • Support gorestful v3

Changed

  • Drop support gorestful v2

v0.9.0

03 Oct 09:14
71b7767
Compare
Choose a tag to compare

0.9.0 - 2020-10-03

Added

  • New helper method to get an std HTTP handler provider (std.HandlerProvider) (used by various frameworks like Gorilla).
  • Support Chi library.
  • Support Alice library.
  • Support Gorilla library.

v0.8.0

04 Jun 14:18
4013ab5
Compare
Choose a tag to compare

0.8.0 - 2020-06-04

Added

  • New middleware helper for the Goji framework.

v0.7.0

02 Jun 06:49
a42626c
Compare
Choose a tag to compare

0.7.0 - 2020-06-02

Breaking change: The library has been refactored to be more flexible when adding new framework/libraries.

Added

  • New middleware helper for the Echo framework.

Changed

  • Refactored internally how the Middleware works and gets the data to make it easier to extend and more reliable.
    • Added Reporter interface as the service responsible of getting the data to be measured.
    • All different framwork helpers now implement with the new Reporter way.
  • Fixed Gin returning duplicated data (#31).
  • (Breaking) Standard handler now is on middleware/std instead of middleware.

Removed

  • Middleware interface in favor of a struct.

v0.6.1

07 Feb 21:35
48e5014
Compare
Choose a tag to compare

0.6.1 - 2020-02-07

Changed

  • Internal response writer interceptor implements http.Hijacker and http.Flusher interface.

v0.6.0

11 Dec 17:44
a3a42eb
Compare
Choose a tag to compare

0.6.0 - 2019-12-11

Breaking changes

  • The Recorder methods now receive properties in a single argument, this will make less breaking changes and better API (there where too many arguments for a function).

Added

  • Added new service property to identify the service.

Changed

  • The Recorder methods now receive properties in a single argument, this will make less breaking changes and better API (there where too many arguments for a function)

v0.5.0

09 Dec 22:59
2f3176a
Compare
Choose a tag to compare

0.5.0 - 2019-12-12

Added

  • Gin compatible middleware.