Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

function get_load_average() does not exist #798

@LeDOC666

Description

@LeDOC666

Hello, I have a lot of error on my postgres databases monitored:

2024-06-28 11:20:35.557 CEST [12068] pgwatch2@site_gpmm ERROR: function get_load_average() does not exist at character 286 2024-06-28 11:20:35.557 CEST [12068] pgwatch2@site_gpmm HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2024-06-28 11:20:35.557 CEST [12068] pgwatch2@site_gpmm STATEMENT: SET lock_timeout TO '100ms';SET statement_timeout TO '5s'; select (extract(epoch from now()) * 1e9)::int8 as epoch_ns, round(load_1min::numeric, 2)::float as load_1min, round(load_5min::numeric, 2)::float as load_5min, round(load_15min::numeric, 2)::float as load_15min from get_load_average(); -- needs the plpythonu proc from "metric_fetching_helpers" folder

After watching on different doc, I don't understand the problem:
My monitored database are version 12.
I use pgwatch2 user (with pg_monitor role) to monitor the databases.
PGWatch2 is running in a Docker Compose, and watch all client databases (including my v12 one) with WEBUI configured.

Normally, with version 10+, and with pg_monitor role, I don't need to install anything on my postgres databases ?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions