Skip to content

Commit

Permalink
Style edits
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleycamacho committed Mar 23, 2022
1 parent b7569e5 commit 675e2f6
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,12 @@ If you also want to obtain table and index-related metrics (for example, table s
GRANT SELECT ON ALL TABLES IN SCHEMA public TO new_relic;
```

If you also want to obtain query-level metrics from the Postgres custom query config file, the PostgreSQL role used by the integration (`new_relic`) also needs to be added to the (`pg_read_all_stats`) role. This is due to the user leveraging the (`pg_stat_statements`) extension. This extension may require additional steps mentioned in the (`Additional notes`) section below.

If you also want to obtain query-level metrics from the PostgreSQL custom query config file, the PostgreSQL role used by the integration (`new_relic`) needs to be added to the (`pg_read_all_stats`) role. This is due to the user leveraging the (`pg_stat_statements`) extension.
```
GRANT pg_read_all_stats TO new_relic;
```

Additional notes:

- **Enabling the Extension** Enabling the pg_stat_statements extension may require you to manually create it from a query prompt.
Enabling the `pg_stat_statements` extension may require you to manually create it from a query prompt:

```
CREATE EXTENSION pg_stat_statements;
Expand Down

0 comments on commit 675e2f6

Please sign in to comment.