Skip to content

Commit

Permalink
rm fmt diff in stack specs
Browse files Browse the repository at this point in the history
  • Loading branch information
DarrenBaldwin07 committed Oct 18, 2024
1 parent ac383be commit a868228
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 89 deletions.
14 changes: 7 additions & 7 deletions tembo-stacks/src/stacks/specs/analytics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ postgres_config:
- name: shared_preload_libraries
value: pg_stat_statements,pg_cron
- name: track_io_timing
value: "on"
value: 'on'
- name: wal_level
value: logical
trunk_installs:
Expand All @@ -50,12 +50,12 @@ extensions:
- name: pg_cron
description: pg_cron
locations:
- database: postgres
enabled: true
version: 1.6.2
- database: postgres
enabled: true
version: 1.6.2
- name: pg_analytics
description: pg_analytics
locations:
- database: postgres
enabled: true
version: 0.2.1
- database: postgres
enabled: true
version: 0.2.1
38 changes: 19 additions & 19 deletions tembo-stacks/src/stacks/specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,33 @@ appServices:
- port: 3000
ingressPath: /rest/v1
middlewares:
- rest-headers
- strip-path-prefix
- rest-headers
- strip-path-prefix
- port: 3000
ingressPath: /graphql/v1
middlewares:
- gql-headers
- map-gql
middlewares:
- !customRequestHeaders
name: rest-headers
config:
Authorization: ""
name: rest-headers
config:
Authorization: ""
- !customRequestHeaders
name: gql-headers
config:
Authorization: ""
Content-Profile: graphql
Accept-Profile: graphql
name: gql-headers
config:
Authorization: ""
Content-Profile: graphql
Accept-Profile: graphql
- !stripPrefix
name: strip-path-prefix
config:
- /rest/v1
name: strip-path-prefix
config:
- /rest/v1
- !replacePathRegex
name: map-gql
config:
regex: '\/graphql\/v1\/?'
replacement: /rpc/resolve
name: map-gql
config:
regex: '\/graphql\/v1\/?'
replacement: /rpc/resolve
env:
- name: PGRST_DB_URI
valueFromPlatform: ReadWriteConnection
Expand Down Expand Up @@ -79,9 +79,9 @@ postgres_config:
- name: track_activity_query_size
value: 2048
- name: wal_compression
value: "on"
value: 'on'
- name: track_io_timing
value: "on"
value: 'on'
- name: log_min_duration_statement # https://www.postgresql.org/docs/15/runtime-config-logging.html
value: 1000
- name: pg_stat_statements.track
Expand Down
6 changes: 3 additions & 3 deletions tembo-stacks/src/stacks/specs/data_warehouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ trunk_installs:
version: 0.4.2
- name: multicorn
version: 2.5.0
- name: pg_tier
- name: pg_tier
version: 0.0.5
extensions:
- name: pg_stat_statements
Expand Down Expand Up @@ -93,8 +93,8 @@ extensions:
- database: postgres
enabled: true
version: 2.5.0
- name: pg_tier
description: pg_tier
- name: pg_tier
description: pg_tier
locations:
- database: postgres
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions tembo-stacks/src/stacks/specs/gis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ postgres_config:
- name: track_activity_query_size
value: 2048
- name: wal_compression
value: "on"
value: 'on'
- name: track_io_timing
value: "on"
value: 'on'
- name: log_min_duration_statement # https://www.postgresql.org/docs/15/runtime-config-logging.html
value: 1000
- name: pg_stat_statements.track
Expand Down
32 changes: 16 additions & 16 deletions tembo-stacks/src/stacks/specs/machine_learning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ postgres_config:
- name: cron.host
value: /controller/run
- name: track_io_timing
value: "on"
value: 'on'
- name: shared_preload_libraries
value: vectorize,pg_stat_statements,pgml,pg_cron,pg_later
- name: vectorize.embedding_service_url
Expand Down Expand Up @@ -56,29 +56,29 @@ extensions:
version: 2.7.1
- name: pg_cron
locations:
- database: postgres
enabled: true
version: 1.6.2
- database: postgres
enabled: true
version: 1.6.2
- name: pgmq
locations:
- database: postgres
enabled: true
version: 1.4.4
- database: postgres
enabled: true
version: 1.4.4
- name: vectorize
locations:
- database: postgres
enabled: true
version: 0.18.2
- database: postgres
enabled: true
version: 0.18.2
- name: pg_later
locations:
- database: postgres
enabled: true
version: 0.1.1
- database: postgres
enabled: true
version: 0.1.1
- name: plpython3u
locations:
- database: postgres
enabled: true
version: 1.0.0
- database: postgres
enabled: true
version: 1.0.0
- name: vectorscale
locations:
- database: postgres
Expand Down
76 changes: 38 additions & 38 deletions tembo-stacks/src/stacks/specs/message_queue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ appServices:
- headers
middlewares:
- !customRequestHeaders
name: headers
config:
Authorization: ""
Content-Profile: pgmq
Accept-Profile: pgmq
name: headers
config:
Authorization: ""
Content-Profile: pgmq
Accept-Profile: pgmq
- !stripPrefix
name: strip-prefix
config:
- /rest/v1
name: strip-prefix
config:
- /rest/v1
- !replacePathRegex
name: map-pgmq
config:
regex: \/pgmq\/v1\/?
replacement: /rpc/
name: map-pgmq
config:
regex: \/pgmq\/v1\/?
replacement: /rpc/
env:
- name: PGRST_DB_URI
valueFromPlatform: ReadWriteConnection
Expand Down Expand Up @@ -87,30 +87,30 @@ extensions:
version: 0.0.4
postgres_metrics:
pgmq:
query: select queue_name, queue_length, oldest_msg_age_sec, newest_msg_age_sec, total_messages, current_database() as datname from pgmq.metrics_all()
master: true
metrics:
- queue_name:
usage: LABEL
description: Name of the queue
- queue_length:
usage: GAUGE
description: Number of messages in the queue
- oldest_msg_age_sec:
usage: GAUGE
description: Age of the oldest message in the queue, in seconds.
- newest_msg_age_sec:
usage: GAUGE
description: Age of the newest message in the queue, in seconds.
- total_messages:
usage: GAUGE
description: Total number of messages that have passed into the queue.
- datname:
usage: "LABEL"
description: "Name of current database"
target_databases:
- "*"
- "postgres"
query: select queue_name, queue_length, oldest_msg_age_sec, newest_msg_age_sec, total_messages, current_database() as datname from pgmq.metrics_all()
master: true
metrics:
- queue_name:
usage: LABEL
description: Name of the queue
- queue_length:
usage: GAUGE
description: Number of messages in the queue
- oldest_msg_age_sec:
usage: GAUGE
description: Age of the oldest message in the queue, in seconds.
- newest_msg_age_sec:
usage: GAUGE
description: Age of the newest message in the queue, in seconds.
- total_messages:
usage: GAUGE
description: Total number of messages that have passed into the queue.
- datname:
usage: "LABEL"
description: "Name of current database"
target_databases:
- "*"
- "postgres"
postgres_config_engine: mq
postgres_config:
- name: shared_preload_libraries
Expand All @@ -124,7 +124,7 @@ postgres_config:
- name: random_page_cost
value: 1.1
- name: autovacuum_naptime
value: "20s"
value: '20s'
- name: autovacuum_vacuum_cost_limit
value: 10000
- name: autovacuum_vacuum_scale_factor
Expand All @@ -134,7 +134,7 @@ postgres_config:
- name: autovacuum_analyze_scale_factor
value: 0.05
- name: track_io_timing
value: "on"
value: 'on'
- name: checkpoint_timeout
value: 10min
- name: pg_stat_statements.track
Expand Down
8 changes: 4 additions & 4 deletions tembo-stacks/src/stacks/specs/mongo_alternative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ appServices:
- name: FERRETDB_LOG_LEVEL
value: debug
- name: FERRETDB_STATE_DIR
value: "-"
value: '-'
- name: FERRETDB_LISTEN_TLS_CERT_FILE
value: /tembo/certs/tls.crt
- name: FERRETDB_LISTEN_TLS_KEY_FILE
Expand Down Expand Up @@ -74,10 +74,10 @@ postgres_config:
- name: track_activity_query_size
value: 2048
- name: wal_compression
value: "on"
value: 'on'
- name: track_io_timing
value: "on"
value: 'on'
- name: log_min_duration_statement # https://www.postgresql.org/docs/15/runtime-config-logging.html
value: 1000
- name: random_page_cost
value: 1.1
value: 1.1

0 comments on commit a868228

Please sign in to comment.