Skip to content

Commit 1c9f68d

Browse files
authored
trimming postgres collectors, adding query_details to the database_observability.postgres component (grafana#4415)
1 parent 2ec78bc commit 1c9f68d

File tree

1 file changed

+2
-2
lines changed
  • internal/component/database_observability

1 file changed

+2
-2
lines changed

internal/component/database_observability/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ local.file "postgres_secret_<your_DB_name>" {
439439
440440
prometheus.exporter.postgres "integrations_postgres_exporter_<your_DB_name>" {
441441
data_source_name = local.file.postgres_secret_<your_DB_name>.content
442-
enabled_collectors = ["database", "stat_statements"]
442+
enabled_collectors = ["stat_statements"]
443443
444444
autodiscovery {
445445
enabled = true
@@ -454,7 +454,7 @@ database_observability.postgres "postgres_<your_DB_name>" {
454454
forward_to = [loki.relabel.database_observability_postgres_<your_DB_name>.receiver]
455455
456456
// OPTIONAL: enable collecting samples of queries with their execution metrics. The sql text will be redacted to hide sensitive params.
457-
enable_collectors = ["query_samples"]
457+
enable_collectors = ["query_samples", "query_details"]
458458
459459
// OPTIONAL: if `query_samples` collector is enabled, you can use
460460
// the following setting to disable sql text redaction (by default

0 commit comments

Comments
 (0)