Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vtgateproxy rework discovery and add metrics (#296)
* refactor a bit more to consolidate the command line flags * rework again to have a single parser and move around all the logic This way we only have a single entity watching the file and dispatching out to the resolvers when things change rather than a bunch of tickers watching the file. Also cleaned up the code a bunch. * redo the shuffle to be a single pass * actually use the builder rand not the global one * add some metrics * only stat once per second * split out counter for unknown affinity
- Loading branch information