spotify / ffwd

a flexible metric forwarding agent
https://spotify.github.io/ffwd/
Apache License 2.0
79 stars 33 forks source link

Refactor Batch.Point to Metric #233

Closed hexedpackets closed 3 years ago

hexedpackets commented 3 years ago

Batch.Point and Metric have almost the exact same definition, the only significant differences were that Batch.Point has a JSON constructor and uses timestamp instead of time. I refactored to only use Metrics across ffwd.

Unrelated small change that I'm combining in this PR is to make the GeneratedPluginSource count configurable.