EnterpriseDB / system_stats

A Postgres extension for exposing system metrics such as CPU, memory and disk information
Other
111 stars 24 forks source link

Update system_stats.control #13

Closed hellower closed 10 months ago

hellower commented 10 months ago

2.0 bump up

asheshv commented 10 months ago

You're missing a script for upgrade from 1.0 to 2.0.

For example, system_stats--1.0--2.0.sql

asheshv commented 10 months ago

@neel5481 We should also grant the role monitor_system_stats to pg_monitor role. (if present) i.e.

GRANT monitor_system_stats TO pg_monitor;

In postgresql, pg_monitor is given all the monitoring privileges.