Skip to content

Alerts#

Posit Package Manager will alert when it has exceeded storage usage thresholds. These alerts can be configured to print to the server log as well as present a banner in the UI.

Storage Audit Thresholds#

The amount of space Package Manager consumes is highly variable depending on how the product is used. Package Manager provides customizable usage thresholds via the StorageAlerts configuration section that can alert when storage usage becomes too high. Please note that this depends on the StorageAudit configuration.

Auditing and alerts are enabled by default, with alerts shown when storage usage exceeds 90%. They can be customized or disabled in the configuration sections mentioned above.

Disabling UI Alerts or Auditing#

To disable the storage alert banner in the web UI and only print alerts to the server log, set StorageAlerts.UIMessageType = none in your configuration file:

/etc/rstudio-pm/rstudio-pm.gcfg
[StorageAlerts]
UIMessageType = none

To disable storage auditing and alerting completely, set StorageAudit.Enabled = false in your configuration file:

/etc/rstudio-pm/rstudio-pm.gcfg
[StorageAudit]
Enabled = false

External Monitoring#

If you have an external metrics aggregator, you may consume the raw storage audit data via Operational Metrics and create alerts using a third-party system.