Query statistics not being generated

Artifacts generated by the pipeline no longer contain query statistics. This is the last time I observed the query statistics collection process working (here is the pipeline (limited access)), since then generated artifacts have no statistics.

It's interesting to note that given this code evaluates if pg_stat_statements exists, and our ops db:migration jobs now print an error that pg_stat_statements_reset does not exist on our testing clones, this is probably the culprit.

But it is not clear why this warning is being thrown. It is possible to log into our testing clones as the same user and we can access both pg_stat_statements and run pg_stat_statements_reset.

Edited by Jon Jenkins