github.com/zsais/go-gin-prometheus
v1.0.3
#2705 most downloaded on Go modules
zsais/go-gin-prometheus
What this package is like to depend on
Last release 6 months ago
11 Feb 2026
Ships unpredictably
gaps range from 4 weeks to 5.4 years
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
18 releases · first in 2017
1 release in the last 12 months
see the full history below
Release timeline
18 releases · Aug 2017 to Feb 2026Releases
latest 18-
v1.0.311 Feb 2026 -
v1.0.216 Aug 2025Release notes
Open source →What's Changed
- add gemini-cli workflows by @zsais in #65
- feat: Add DisableBodyReading option to fix performance issue by @zsais in #66
Full Changelog: v1.0.1...v1.0.2
-
v1.0.122 Jul 2025 -
v1.0.027 Jun 2025Release notes
Open source →Release Description for
v1.0.0This
v1.0.0release marks a major milestone forgo-gin-prometheus, representing a complete modernization of the library. This release focuses on improving code quality, enhancing the API, and establishing a robust foundation for future development. The library is now more flexible, easier to use, and aligned with modern Go development practices.✨ Major Accomplishments
- Complete Code Modernization: The entire codebase has been refactored for better readability, maintainability, and performance.
- Go Modules Integration: Dependency management has been migrated to Go modules for standardization and reliability.
- Enhanced API with
ConfigStruct: A newConfigstruct provides a flexible and extensible way to configure the middleware, including support for custom metric labels. - Improved Testing: The test suite has been significantly expanded to ensure reliability and cover new functionality.
- CI/CD with GitHub Actions: A full CI/CD pipeline has been implemented using GitHub Actions to automate testing and linting, ensuring high code quality.
- Updated Documentation: The
README.mdand GoDoc comments have been thoroughly updated to provide comprehensive guidance on the new features and API.
✅ Key Changes
- feat: Introduced a new
Configstruct for middleware configuration. - feat: Added support for custom Prometheus labels.
- refactor: Modernized the entire codebase and improved error handling.
- chore: Migrated to Go modules for dependency management.
- ci: Implemented a new GitHub Actions workflow for continuous integration.
- docs: Overhauled the
README.mdand improved GoDoc comments. - test: Added extensive new unit tests.
Backward Compatibility
This release maintains backward compatibility with the previous API, ensuring a seamless upgrade path for all existing users.
-
v0.1.1-0.20200217150448-2199a42d96c117 Feb 2020 pre-releaseNothing published for this version
-
v0.1.1-0.20200123135339-fb6c07c3851723 Jan 2020 pre-releaseNothing published for this version
-
v0.1.1-0.20190723203314-c7374e9082f823 Jul 2019 pre-releaseNothing published for this version
-
v0.1.030 Oct 2018 -
v0.0.0-20250627025345-d46749f7cd0b27 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20200217150448-2199a42d96c117 Feb 2020 pre-releaseNothing published for this version
-
v0.0.0-20190723203314-c7374e9082f823 Jul 2019 pre-releaseNothing published for this version
-
v0.0.0-20181030200533-58963fb32f5430 Oct 2018 pre-releaseNothing published for this version
-
v0.0.0-20180816204419-f09dfa9cedec16 Aug 2018 pre-releaseNothing published for this version
-
v0.0.0-20180525164355-3f93884fa24025 May 2018 pre-releaseNothing published for this version
-
v0.0.0-20180212221322-e0b707b90d5612 Feb 2018 pre-releaseNothing published for this version
-
v0.0.0-20171027204205-e26effb6cde327 Oct 2017 pre-releaseNothing published for this version
-
v0.0.0-20171001000647-bdee3a883f1401 Oct 2017 pre-releaseNothing published for this version
-
v0.0.0-20170804154133-49fc8030297004 Aug 2017 pre-releaseNothing published for this version