pgcat
pgcat copied to clipboard
A lot of metics not implemented warn logs.
Describe the bug A lot of metics not implemented warn logs.
Screenshots

Looking at the prometheus metrics it seems also these are not updated/not filled:
pgcat_stats_total_xact_time
pgcat_stats_avg_errors
pgcat_stats_avg_xact_time
pgcat_servers_query_count
pgcat_servers_error_count
@levkk By reading the code, it seems this is generated by a debug! macro. I understand that implementing all of those metrics might be a big deal. But can it use at least the correct logging severity (IMO DEBUG severity) so that they can be ignored in the logger level?
Sure. Implementing those metrics shouldn't be too difficult either, you can refer to the admin database for implementation. PRs for either paths are welcome.