shatteredsilicon / ssm-submodules

GNU Affero General Public License v3.0
0 stars 2 forks source link

QAN: Aggregated View Across Multiple Servers #212

Closed gordan-bobic closed 5 months ago

gordan-bobic commented 8 months ago

We often have one master and many read slaves in the same replica set. Assessing QAN data server by server often produces lopsided results compared to the real picture of the cluster in aggregate.

The feature:

This would effectively translate to the underlying QAN queries going from (pseudo code):

WHERE host = ?

to:

WHERE host IN (?list)
gordan-bobic commented 6 months ago

Bumping this to 4, again because I don't think it would be hugely difficult, and I'm getting requests for the feature. For example, where you have multiple clusters, or you have one master and many slaves where slaves are load balanced. It makes sense to look at the data in aggregate across all the slaves.

oblitorum commented 6 months ago

If multiple standalone servers are seletecd, do we show separate Example/Explain/TABLE for each server?

image

And also the 2 activity metric dashboards on the top

image

gordan-bobic commented 6 months ago

No, just one example per fingerprint hash - slowest one logged, same as we do for a single server.