You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this commit alters the signature of the `EncodeLabelSet::encode()` trait
method, such that it now accepts a mutable reference to its encoder.
this is related to #135, and is a second proposal following
previous work in #240.
this change permits distinct label sets to be composed together, now
that the label set encoder is not consumed. a new implementation for
tuples `(A, B)` is provided.
this commit includes a test case showing that a metric family can
compose two label sets together, and that such a family can successfully
be digested by the python client library.
`derive-encode` is altered to generate code matching this new trait
signature, and has been bumped to version 0.5.0 as a result of this
breaking change in the `prometheus-client` library.
Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>
0 commit comments