Open xumengpanda opened 4 years ago
This might also rely on some changes at the client side to better tag different sources.
This is fairly similar to #1692
I think #1692 is similar to the item 1 in this issue. The item 2 is more finer-granularity tracking, IMO.
I won't mind closing one of them.
Yeah, interestingly #1692 also suggests finer-granularity tracking, but only internally. I think it's the same idea, though, so we could probably safely fold these together.
When a cluster is near overloaded, operators want to understand where traffic is coming from in order to decide how to reduce the traffic.
Two questions to answer:
To answer these questions, we may tag transactions inexpensively and aggregate metrics by tag. The number of tags should be small because the number of services on a cluster is limited.
Once FDB has the aggregated metrics, it also needs a better way to expose those aggregated metrics, which will be solved in Issue https://github.com/apple/foundationdb/issues/2156.
[This idea was proposed and discussed in FDB Offset 2019.]