This repository was archived by the owner on Sep 6, 2025. It is now read-only.
Releases: hellofresh/stats-go
Releases · hellofresh/stats-go
Use OSS-compatible unidecode library
Migrated to go modules, maintenance mode
Merge pull request #39 from hellofresh/patch/maintenance PT-6782 Added maintenance mode note to readme
v1.0.2: Merge pull request #33 from hellofresh/patch/prometheus-gauge
Set value instead of adding for Prometheus gauge
v1.0.1: Merge pull request #30 from hellofresh/patch/prometheus-namespace
Prepend metrics with prometheus namespace
Prometheus backend
That release adds Prometheus backend and changes MetricOperation interface:
Before:
operation := bucket.MetricOperation{"orders", "order", "create"}
After:
operation := bucket.NewMetricOperation("orders", "order", "create")
clientPrometheus.TrackMetric("metric", operation.WithLabels(map[string]string{"flag": "value"}))
New middleware and context
Added default http middleware
Added context pkg for contextual stats client
Implemented new timer interface
Merge pull request #26 from hellofresh/improve-timer Improve timer
Accept nil timer on track request operations
Merge pull request #25 from hellofresh/patch-accept-nil-timer Accept nil timer
Allow set custom timer start time
v0.6.3 Merge pull request #23 from hellofresh/patch/ability-to-use-arbitrary…
Docs update
Merge pull request #21 from hellofresh/feature/more-examples More examples in readme