wavefrontHQ / go-metrics-wavefront

Wavefront plugin for go-metrics
https://wavefront.com
Apache License 2.0
11 stars 15 forks source link

V1 refactoring [WIP] #12

Closed laullon closed 5 years ago

vikramraman commented 5 years ago

At a high level let's just retain the package wavefront and split into following files:

reporter.go (reporting logic goes here) registry.go (GetMetric, RegisterMetric etc functions here) delta.go (any delta counter code) util.go (EncodeKey, DecodeKey etc). histogram.go (Wavefront Histogram wrapper that implements https://github.com/rcrowley/go-metrics/blob/3113b8401b8a98917cde58f8bbd42a1b1c03b1fd/histogram.go#L4)