Closed ktoso closed 4 years ago
SWIM is a great example of a very internal piece of clusters which should expose metrics well.
And there's all kinds of types of metrics, gauges for the membership, counters for total messages etc, and recorders for how many data we sent etc.
In this PR trying to explore the best patterns for instrumenting such middleware with swift-metrics.
Still work in progress
this is pretty cool 👍 why still in draft?
why still in draft?
Not complete :) Not all metrics are called yet, I'll finish it up soon enough though.
Something weird happened here:
making a new PR
Replaced by https://github.com/apple/swift-cluster-membership/pull/70
Motivation:
SWIM is a great example of a very internal piece of clusters which should expose metrics well.
And there's all kinds of types of metrics, gauges for the membership, counters for total messages etc, and recorders for how many data we sent etc.
In this PR trying to explore the best patterns for instrumenting such middleware with swift-metrics.
Modifications:
Still work in progress
Result: