Closed philss closed 3 years ago
@josevalim this is the first part of that refactor we discussed. I left a TODO about adding the pipeline name to our telemetry events from Broadway. WDYT? I can work on a PR if you agree.
@philss i think adding both partition and broadway_name would be good additions.
@josevalim thanks! I'm gonna merge this. If there is something I'm missing, please feel free to comment and I fix in the next PR.
This is a simplification of the Metrics GenServer to deal with only one Pipeline at a time. This way we don't need one server for all pipelines. We can spawn multiple servers and it's ok if they die because we can spawn again accessing the page.