You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/databases/opentelemetry/postgresql-opentelemetry.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ import TabItem from '@theme/TabItem';
15
15
16
16
The Sumo Logic app for PostgreSQL includes predefined searches and dashboards that allow you to monitor logs and metrics for the database. The logs enable you to monitor database activity, user activity, incoming connections, query execution time, and errors. The metrics allow you to monitor database resource utilization and throughput performance.
17
17
18
-
This app supports PostgreSQL version 9.6+.
18
+
This app supports PostgreSQL version 13+.
19
19
20
20
We use the OpenTelemetry collector for PostgreSQL metric collection and for collecting PostgreSQL logs.
21
21
@@ -41,7 +41,7 @@ Following are the tags that will be created as part of PostgreSQL app installati
41
41
### For metrics collection
42
42
43
43
- This collection queries the PostgreSQL [statistics collector](https://www.postgresql.org/docs/9.6/monitoring-stats.html).
44
-
- This receiver supports PostgreSQL version 9.6+.
44
+
- This receiver supports PostgreSQL version 13+.
45
45
- The monitoring user must be granted **SELECT** on the `pg_stat_database`.
46
46
47
47
### For logs collection
@@ -115,6 +115,7 @@ Below is the required input:
115
115
-**Endpoint**. Enter the url of the server which needs to be monitored. Default endpoint is `localhost:5432`.
116
116
-**UserName**. Enter the PostgreSQL username.
117
117
-**Password**. Password for the user name which is being used for scrapping the PostgreSQL metrics.
118
+
-**Collection Interval**. You can specify at what interval should the metrics be collected. Default is 5 minutes.
118
119
119
120
You can add any custom fields which you want to tag along with the data ingested in Sumo. Click on the **Download YAML File** button to get the yaml file.
120
121
@@ -246,6 +247,7 @@ Use this dashboard to:
246
247
- Determine the number of active databases and clusters.
247
248
- Drill-down into database errors, failed logins and slow queries.
248
249
- Determine if your database or queries need to be tuned based on comparing the number of slow queries.
250
+
- Active deadlock value and tuple operations trends.
@@ -352,4 +360,5 @@ import CreateMonitors from '../../../reuse/apps/create-monitors.md';
352
360
|`PostgreSQL - Instance Down Alert`| This alert gets triggered when the Postgres instance is down. | Count > = 1 | Count < 1 |
353
361
|`PostgreSQL - SlowQueries Alert`| This alert gets triggered when we detect that the PostgreSQL instance is executing slow queries. | Count > 5 | Count < = 5 |
354
362
|`Postgresql- Too Many Connections Alert`| PostgreSQL instance has too many connections. | Count > = 100 | Count < 100 |
355
-
|`Postgresql - Too Many Locks Acquired Alert`| This alert gets triggered when we detect that there are too many locks acquired on the database. If this alert happens frequently, you may need to increase the postgres setting `max_locks_per_transaction`. | Count > = 100 | Count < 100 |
363
+
|`PostgreSQL - Too Many Locks Acquired Alert`| This alert is triggered when there are too many locks acquired on the database. Increase the postgres setting `max_locks_per_transaction`, if this alert occurs frequently. | Count > = 100 | Count < 100 |
364
+
|`PostgreSQL - High Rate Deadlock`| This alert is triggered when deadlocks in a Postgres instance are detected. | Count > = 1 | Count < 1 |
0 commit comments