As a result, every event cos-proxy gets from nrpe relation-changed, results in reading/writing several megs of data, taking several seconds to complete. When many units are at play, model settling takes a long time.
In addition, relation data limit is 16M, and in common envs we already approach 25% of that.
Solution
LZMA-compress rules, jobs before storing in reldata, but only in MetricsEndpointAggregator.
Issue
Some productions deployments have several megs of relation data just for alert rules, scrape jobs. Contributing factors to the high volume of reldata:
As a result, every event cos-proxy gets from nrpe relation-changed, results in reading/writing several megs of data, taking several seconds to complete. When many units are at play, model settling takes a long time.
In addition, relation data limit is 16M, and in common envs we already approach 25% of that.
Solution
TODO:
Context
Testing Instructions
Upgrade Notes