Telemetry Metrics
isaacsanders opened this issue · comments
Isaac Sanders commented
Using TelemetryMetrics, I can't seem to take the number of messages from the metadata emitted by Broadway and transform it into a measurement.
Would adding the length of the lists of messages be a reasonable change to the telemetry events emitted by this library?
José Valim commented
This should be tackled in TelemetryMetrics. I would allow a function of two arguments to be given to :measurement
where the second element is the metadata, so you can compute it as a necessary. A PR there is welcome.