Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(witness_generator): Only spawn 1 prometheus exporter per witness …
…generator (#2492) ## What ❔ Currently, when running with `--all-rounds`, witness generator will spawn several prometheus exporter servers. This is meaningless, as the metrics are collected by the global registry anyways. This PR changes the code so that we only spawn a single prometheus exporter. ## Why ❔ Indeed ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zk fmt` and `zk lint`.
- Loading branch information