Blip Docs
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Changing

Plan changing makes Blip change plans while running (without restarting) based on the state of MySQL:

StateConnected to MySQLCollecting MetricsDescription
offlinenonoCompletely offline, no connection to MySQL
standbyYESYESConnected to MySQL but HA passive mode
read-onlyYESYESMySQL is read-only
activeYESYESMySQL is writable

Collecting different metrics for different states makes metrics collection more efficient by avoiding unnecessary metrics. For example, if your environment uses many read replicas, you might not need to collect and report all metrics from read replicas. However, if those read replicas can be promoted to the active (writable) source on failover, then you still need to collect all metrics if and when that occurs. This could be solved by reconfiguring and restarting Blip on failover, but it can be done automatically by enabling plan changing.

The standby state is not currently used. It’s a placeholder for a feature not yet implemented.

Enable

To enable plan changing, configure at least one state in config.plans.change.

When enabled, states without an explicit plan use plan precedence to choose a plan. However, it is better to explicitly configure all states so it’s clear in the config which state uses which plan.

Since plan precedence is scoped, the plan changing configuration can reference plans only in one or the other: monitor plans, or shared plans.

Disable

Plan changing is entirely disabled when config.plans.change is not set. When disabled, the plan changing code does not run, which means zero additional overhead.