File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
internal/component/database_observability Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ local.file "postgres_secret_<your_DB_name>" {
439439
440440prometheus.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
You can’t perform that action at this time.
0 commit comments