From c095a5320f148ceb39383a0bfb62dc94806c9991 Mon Sep 17 00:00:00 2001 From: Thomas Evans Date: Fri, 15 Apr 2022 15:04:07 -0500 Subject: [PATCH 1/2] Fixed tag names. --- .../templates/cost-analyzer-deployment-template.yaml | 6 +++--- cost-analyzer/values.yaml | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cost-analyzer/templates/cost-analyzer-deployment-template.yaml b/cost-analyzer/templates/cost-analyzer-deployment-template.yaml index 6e6eecea8..638f35820 100755 --- a/cost-analyzer/templates/cost-analyzer-deployment-template.yaml +++ b/cost-analyzer/templates/cost-analyzer-deployment-template.yaml @@ -673,9 +673,9 @@ spec: - name: PROM_CLUSTER_ID_LABEL value: {{ .Values.kubecostModel.promClusterIDLabel }} {{- end }} - {{- if .Values.kubecostFrontend.customerGoogleTag }} - - name: CUSTOMER_GOOGLE_TAG - value: {{ .Values.kubecostFrontend.customerGoogleTag }} + {{- if .Values.reporting.googleAnalyticsTag }} + - name: GOOGLE_ANALYTICS_TAG + value: {{ .Values.reporting.googleAnalyticsTag }} {{- end }} - name: RELEASE_NAME value: {{ .Release.Name }} diff --git a/cost-analyzer/values.yaml b/cost-analyzer/values.yaml index 99cc943f6..49085585b 100755 --- a/cost-analyzer/values.yaml +++ b/cost-analyzer/values.yaml @@ -198,8 +198,6 @@ kubecostFrontend: #limits: # cpu: "100m" # memory: "256Mi" -# customerGoogleTag allows you to embed your Google Global Site Tag to track usage of Kubecost. -# customerGoogleTag: G-XXXXXXXXX # api: # fqdn: kubecost-api.kubecost.svc.cluster.local:9001 # model: @@ -614,9 +612,12 @@ reporting: logCollection: true # Basic frontend analytics productAnalytics: true + # Report Javascript errors errorReporting: true valuesReporting: true + # googleAnalyticsTag allows you to embed your Google Global Site Tag to track usage of Kubecost. + # googleAnalyticsTag: G-XXXXXXXXX serviceMonitor: enabled: false From 364c15b05d6662fbeee806f61f29b26e76f5891f Mon Sep 17 00:00:00 2001 From: Thomas Evans Date: Fri, 15 Apr 2022 15:19:53 -0500 Subject: [PATCH 2/2] Updated google analytics tag to be marked as enterprise. --- cost-analyzer/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/cost-analyzer/values.yaml b/cost-analyzer/values.yaml index 49085585b..56c47ce86 100755 --- a/cost-analyzer/values.yaml +++ b/cost-analyzer/values.yaml @@ -617,6 +617,7 @@ reporting: errorReporting: true valuesReporting: true # googleAnalyticsTag allows you to embed your Google Global Site Tag to track usage of Kubecost. + # googleAnalyticsTag is only included in our Enterprise offering. # googleAnalyticsTag: G-XXXXXXXXX serviceMonitor: