We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e212b commit 724ec12Copy full SHA for 724ec12
cli/bin/postgres-ai.ts
@@ -503,8 +503,8 @@ targets
503
return;
504
}
505
506
- // Filter out demo placeholder
507
- const filtered = instances.filter((inst) => inst.name && inst.name !== "target-database");
+ // Filter out disabled instances (e.g., demo placeholders)
+ const filtered = instances.filter((inst) => inst.name && inst.is_enabled !== false);
508
509
if (filtered.length === 0) {
510
console.log("No monitoring targets configured");
instances.yml
@@ -2,7 +2,7 @@
2
conn_str: postgresql://monitor:monitor_pass@target-db:5432/target_database
3
preset_metrics: full
4
custom_metrics:
5
- is_enabled: true
+ is_enabled: false
6
group: default
7
custom_tags:
8
env: demo
0 commit comments