https://github.com/xmidt-org/mockitmetrics
A simple mock implementation for go-kit metrics allowing for easy validation of metrics generating code.
https://github.com/xmidt-org/mockitmetrics
Last synced: 11 days ago
JSON representation
A simple mock implementation for go-kit metrics allowing for easy validation of metrics generating code.
- Host: GitHub
- URL: https://github.com/xmidt-org/mockitmetrics
- Owner: xmidt-org
- License: apache-2.0
- Created: 2023-09-18T08:08:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-26T00:34:45.000Z (28 days ago)
- Last Synced: 2025-05-13T00:52:23.008Z (11 days ago)
- Language: Go
- Size: 72.3 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mockitmetrics
A simple mock implementation for go-kit metrics allowing for easy validation of metrics generating code.[](https://github.com/xmidt-org/mockitmetrics/actions/workflows/ci.yml)
[](http://codecov.io/github/xmidt-org/mockitmetrics?branch=main)
[](https://goreportcard.com/report/github.com/xmidt-org/mockitmetrics)
[](https://github.com/xmidt-org/mockitmetrics/blob/main/LICENSE)
[](https://github.com/xmidt-org/mockitmetrics/releases)
[](https://pkg.go.dev/github.com/xmidt-org/mockitmetrics)## Summary
A simple library that makes testing if metrics are being recorded when they
should easy.In general it is wise to be cautious of over-validating metrics and logs, but
it's also wise to make sure when things get a bit crazy you're covered.## Usage
```golang
```