pipelined/pipe

Metrics

dudk opened this issue · 1 comments

dudk commented

As phono user, I want to have metrics, so that I can evaluate pipeline performance.

Metrics should be collected in one place. It'll allow to collect metrics from multiple goroutines and expose it if needed.

Problems of current implementation:

  • types naming: Metric, Meter and Measure
  • metrics writes are not atomic
  • pipe should use interface, so multiple metrics implementations would be possible
dudk commented

This feature is implemented as part of #71.

Currently package contains some unclear names:

  • Metric.Meter should be Metric.AddMeter