Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Prometheus backend

Choose a tag to compare

@aleksandrzhiliaev aleksandrzhiliaev released this 04 May 09:17
· 23 commits to master since this release
152fd3a

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"}))