From 59bda1babf68df3384c9de5a3e3dfd50458b712b Mon Sep 17 00:00:00 2001 From: cavis Date: Mon, 3 Jun 2024 09:12:38 -0600 Subject: [PATCH 1/2] Add some metrics --- spire/templates/apps/dovetail-cdn-arranger.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/spire/templates/apps/dovetail-cdn-arranger.yml b/spire/templates/apps/dovetail-cdn-arranger.yml index 0965b9386..919fd08ba 100644 --- a/spire/templates/apps/dovetail-cdn-arranger.yml +++ b/spire/templates/apps/dovetail-cdn-arranger.yml @@ -57,6 +57,23 @@ Resources: Value: Concat - ExpirationInDays: 30 Status: Enabled + MetricsConfigurations: + - Id: Concat + TagFilters: + - Key: Type + Value: Concat + - Id: IncompleteConcat + TagFilters: + - Key: Type + Value: IncompleteConcat + - Id: Metadata + TagFilters: + - Key: Type + Value: Metadata + - Id: Transcode + TagFilters: + - Key: Type + Value: Transcode PublicAccessBlockConfiguration: BlockPublicAcls: true BlockPublicPolicy: true From 59174ec67f423d9f057170bfd57544786fd26bb0 Mon Sep 17 00:00:00 2001 From: cavis Date: Mon, 3 Jun 2024 10:22:26 -0600 Subject: [PATCH 2/2] Unneeded sub --- spire/templates/shared-clickhouse.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spire/templates/shared-clickhouse.yml b/spire/templates/shared-clickhouse.yml index b5992a0cd..973367111 100644 --- a/spire/templates/shared-clickhouse.yml +++ b/spire/templates/shared-clickhouse.yml @@ -1,4 +1,4 @@ -# stacks/apps/dovetail-clickhouse.yml +# stacks/shared-clickhouse.yml AWSTemplateFormatVersion: "2010-09-09" Description: >- @@ -119,7 +119,7 @@ Resources: - developer_keys: !Join ["\n", !Ref AuthorizedKeys] 02_install_clickhouse: # https://clickhouse.com/docs/en/install#from-rpm-packages - command: !Sub | + command: | #!/bin/bash if ! command -v clickhouse-server &> /dev/null; then yum-config-manager --add-repo https://packages.clickhouse.com/rpm/clickhouse.repo