├── .github ├── stale.yml └── workflows │ └── testing.yml ├── .gitignore ├── .golangci.yml ├── .whitesource ├── .zappr.yaml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── bucket ├── bucket.go ├── bucket_http_request.go ├── bucket_http_request_test.go ├── bucket_plain.go ├── bucket_plain_test.go ├── bucket_prometheus.go ├── bucket_prometheus_test.go ├── bucket_test.go ├── metric_storage.go ├── metric_storage_test.go ├── section_test_callback.go └── section_test_callback_test.go ├── client.go ├── client ├── client.go ├── log.go ├── log_test.go ├── memory.go ├── memory_test.go ├── noop.go ├── noop_test.go ├── prometheus.go ├── prometheus_test.go └── statsd.go ├── client_test.go ├── context ├── context.go └── context_test.go ├── doc.go ├── go.mod ├── go.sum ├── hooks ├── logrus.go └── logrus_test.go ├── incrementer ├── factory.go ├── incrementer.go ├── incrementer_test.go ├── log.go ├── log_test.go ├── memory.go ├── memory_test.go ├── prometheus.go ├── prometheus_test.go └── statsd.go ├── log └── logging.go ├── middleware ├── middleware.go └── middleware_test.go ├── state ├── factory.go ├── log.go ├── log_test.go ├── memory.go ├── memory_test.go ├── prometheus.go ├── prometheus_test.go ├── state.go └── statsd.go └── timer ├── duration.go ├── memory.go ├── memory_test.go └── timer.go /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/testing.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/.github/workflows/testing.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | coverage.txt 3 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/.golangci.yml -------------------------------------------------------------------------------- /.whitesource: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/.whitesource -------------------------------------------------------------------------------- /.zappr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/.zappr.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/README.md -------------------------------------------------------------------------------- /bucket/bucket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/bucket.go -------------------------------------------------------------------------------- /bucket/bucket_http_request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/bucket_http_request.go -------------------------------------------------------------------------------- /bucket/bucket_http_request_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/bucket_http_request_test.go -------------------------------------------------------------------------------- /bucket/bucket_plain.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/bucket_plain.go -------------------------------------------------------------------------------- /bucket/bucket_plain_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/bucket_plain_test.go -------------------------------------------------------------------------------- /bucket/bucket_prometheus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/bucket_prometheus.go -------------------------------------------------------------------------------- /bucket/bucket_prometheus_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/bucket_prometheus_test.go -------------------------------------------------------------------------------- /bucket/bucket_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/bucket_test.go -------------------------------------------------------------------------------- /bucket/metric_storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/metric_storage.go -------------------------------------------------------------------------------- /bucket/metric_storage_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/metric_storage_test.go -------------------------------------------------------------------------------- /bucket/section_test_callback.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/section_test_callback.go -------------------------------------------------------------------------------- /bucket/section_test_callback_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/bucket/section_test_callback_test.go -------------------------------------------------------------------------------- /client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client.go -------------------------------------------------------------------------------- /client/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/client.go -------------------------------------------------------------------------------- /client/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/log.go -------------------------------------------------------------------------------- /client/log_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/log_test.go -------------------------------------------------------------------------------- /client/memory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/memory.go -------------------------------------------------------------------------------- /client/memory_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/memory_test.go -------------------------------------------------------------------------------- /client/noop.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/noop.go -------------------------------------------------------------------------------- /client/noop_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/noop_test.go -------------------------------------------------------------------------------- /client/prometheus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/prometheus.go -------------------------------------------------------------------------------- /client/prometheus_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/prometheus_test.go -------------------------------------------------------------------------------- /client/statsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client/statsd.go -------------------------------------------------------------------------------- /client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/client_test.go -------------------------------------------------------------------------------- /context/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/context/context.go -------------------------------------------------------------------------------- /context/context_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/context/context_test.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/doc.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/go.sum -------------------------------------------------------------------------------- /hooks/logrus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/hooks/logrus.go -------------------------------------------------------------------------------- /hooks/logrus_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/hooks/logrus_test.go -------------------------------------------------------------------------------- /incrementer/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/factory.go -------------------------------------------------------------------------------- /incrementer/incrementer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/incrementer.go -------------------------------------------------------------------------------- /incrementer/incrementer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/incrementer_test.go -------------------------------------------------------------------------------- /incrementer/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/log.go -------------------------------------------------------------------------------- /incrementer/log_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/log_test.go -------------------------------------------------------------------------------- /incrementer/memory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/memory.go -------------------------------------------------------------------------------- /incrementer/memory_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/memory_test.go -------------------------------------------------------------------------------- /incrementer/prometheus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/prometheus.go -------------------------------------------------------------------------------- /incrementer/prometheus_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/prometheus_test.go -------------------------------------------------------------------------------- /incrementer/statsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/incrementer/statsd.go -------------------------------------------------------------------------------- /log/logging.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/log/logging.go -------------------------------------------------------------------------------- /middleware/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/middleware/middleware.go -------------------------------------------------------------------------------- /middleware/middleware_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/middleware/middleware_test.go -------------------------------------------------------------------------------- /state/factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/factory.go -------------------------------------------------------------------------------- /state/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/log.go -------------------------------------------------------------------------------- /state/log_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/log_test.go -------------------------------------------------------------------------------- /state/memory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/memory.go -------------------------------------------------------------------------------- /state/memory_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/memory_test.go -------------------------------------------------------------------------------- /state/prometheus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/prometheus.go -------------------------------------------------------------------------------- /state/prometheus_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/prometheus_test.go -------------------------------------------------------------------------------- /state/state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/state.go -------------------------------------------------------------------------------- /state/statsd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/state/statsd.go -------------------------------------------------------------------------------- /timer/duration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/timer/duration.go -------------------------------------------------------------------------------- /timer/memory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/timer/memory.go -------------------------------------------------------------------------------- /timer/memory_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/timer/memory_test.go -------------------------------------------------------------------------------- /timer/timer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellofresh/stats-go/HEAD/timer/timer.go --------------------------------------------------------------------------------