New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log: "Error collecting replication statistics" #34
Comments
Hi @joekohlsdorf - thanks for your patience on this! This is likely a permission issue, but we should probably still ignore that error. Could you try if adding the following as an rds_superuser resolves it: CREATE OR REPLACE FUNCTION pganalyze.get_stat_replication() RETURNS SETOF pg_stat_replication AS
$$
/* pganalyze-collector */ SELECT * FROM pg_catalog.pg_stat_replication;
$$ LANGUAGE sql VOLATILE SECURITY DEFINER; If it does not, could you send a sample of the output of Thanks! |
I have verified that I already have this function defined and I can query it manually. The output from
This seems to be a similar case as #21 |
@joekohlsdorf Thanks, thats very helpful! Fixed now in master, and will be in the next release (likely coming out next week). |
Server version: 11.4 on RDS
Collector version: v0.21.0
The collector logs the following message:
The only thing which might be a bit extraordinary might be that this server has active logical replication slots.
I'm happy to provide more information if necessary.
The text was updated successfully, but these errors were encountered: