Skip to content

Instantly share code, notes, and snippets.

@wolfoo2931
Last active November 16, 2018 09:22
Show Gist options
  • Save wolfoo2931/c51fd608e5b9d1ef42038cc31b2f9c6a to your computer and use it in GitHub Desktop.
Save wolfoo2931/c51fd608e5b9d1ef42038cc31b2f9c6a to your computer and use it in GitHub Desktop.
a9s PostgreSQL mappings
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.conflicts.*.*.*
name="postgres_conflicts_${5}"
guid="$1"
node="$2"
conflict_number="$3"
database="$4"
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.database.*.*.*
name="postgres_database_${5}"
guid="$1"
node="$2"
database_number="$3"
database="$4"
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.io_table.*.*.*.*
name="postgres_${4}_${6}"
guid="$1"
node="$2"
io_table_id="$3"
type="$5"
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.replication.*
name="postgres_replication_${3}"
guid="$1"
node="$2"
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.database.*.table.*.*.*.*
name="postgres_${5}_${7}"
guid="$1"
node="$2"
database="$3"
table_id="$4"
type="$6"
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.database.*.table.*.*.*.*.*.*.*
name="postgres_${5}_${7}_${8}_${9}_${10}"
guid="$1"
node="$2"
database="$3"
table_id="$4"
type="$6"
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.collect_time
name="postgres_collect_time"
guid="$1"
node="$2"
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.database.*.pg_database_size
name="postgres_database_size"
guid="$1"
node="$2"
database="$3"
*.postgres.*.node.dc1.001bosh001pde1.bicsvc.com.ha.*
name="postgres_${3}"
guid="$1"
node="$2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment