diff --git a/tembo-stacks/src/stacks/specs/analytics.yaml b/tembo-stacks/src/stacks/specs/analytics.yaml index d462c9b11..32226b3ff 100644 --- a/tembo-stacks/src/stacks/specs/analytics.yaml +++ b/tembo-stacks/src/stacks/specs/analytics.yaml @@ -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: @@ -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 diff --git a/tembo-stacks/src/stacks/specs/api.yaml b/tembo-stacks/src/stacks/specs/api.yaml index 2ba934937..6e84e37fc 100644 --- a/tembo-stacks/src/stacks/specs/api.yaml +++ b/tembo-stacks/src/stacks/specs/api.yaml @@ -21,8 +21,8 @@ appServices: - port: 3000 ingressPath: /rest/v1 middlewares: - - rest-headers - - strip-path-prefix + - rest-headers + - strip-path-prefix - port: 3000 ingressPath: /graphql/v1 middlewares: @@ -30,24 +30,24 @@ appServices: - 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 @@ -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 diff --git a/tembo-stacks/src/stacks/specs/data_warehouse.yaml b/tembo-stacks/src/stacks/specs/data_warehouse.yaml index 73e3e853c..2b3da9982 100644 --- a/tembo-stacks/src/stacks/specs/data_warehouse.yaml +++ b/tembo-stacks/src/stacks/specs/data_warehouse.yaml @@ -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 @@ -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 diff --git a/tembo-stacks/src/stacks/specs/gis.yaml b/tembo-stacks/src/stacks/specs/gis.yaml index 713fef1ff..3cdab0caf 100644 --- a/tembo-stacks/src/stacks/specs/gis.yaml +++ b/tembo-stacks/src/stacks/specs/gis.yaml @@ -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 diff --git a/tembo-stacks/src/stacks/specs/machine_learning.yaml b/tembo-stacks/src/stacks/specs/machine_learning.yaml index 118d0f8ee..411337eca 100644 --- a/tembo-stacks/src/stacks/specs/machine_learning.yaml +++ b/tembo-stacks/src/stacks/specs/machine_learning.yaml @@ -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 @@ -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 diff --git a/tembo-stacks/src/stacks/specs/message_queue.yaml b/tembo-stacks/src/stacks/specs/message_queue.yaml index 91fc9a6a6..a3833a0d6 100644 --- a/tembo-stacks/src/stacks/specs/message_queue.yaml +++ b/tembo-stacks/src/stacks/specs/message_queue.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/tembo-stacks/src/stacks/specs/mongo_alternative.yaml b/tembo-stacks/src/stacks/specs/mongo_alternative.yaml index a39d99854..94c06a82b 100644 --- a/tembo-stacks/src/stacks/specs/mongo_alternative.yaml +++ b/tembo-stacks/src/stacks/specs/mongo_alternative.yaml @@ -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 @@ -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 \ No newline at end of file