From cd74f1f67f91ecf19e8ec047b3b841f1e5aa4c49 Mon Sep 17 00:00:00 2001 From: Hudong Wang Date: Wed, 21 Jan 2026 13:54:39 -0800 Subject: [PATCH 1/4] add ca region --- client/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/client.go b/client/client.go index be3c92a..d05de3f 100644 --- a/client/client.go +++ b/client/client.go @@ -37,6 +37,7 @@ const MEBaseURL string = "https://metrics-collector-me.cloudability.com/metricsa const INBaseURL string = "https://metrics-collector-in.cloudability.com/metricsample" const JPBaseURL string = "https://metrics-collector-jp.cloudability.com/metricsample" const SGBaseURL string = "https://metrics-collector-sg.cloudability.com/metricsample" +const CABaseURL string = "https://metrics-collector-ca.cloudability.com/metricsample" const GovBaseURL string = "https://metrics-collector-production-gov.cloudability.com/metricsample" const StagingBaseURL string = "https://metrics-collector-staging.cloudability.com/metricsample" const defaultTimeout = 1 * time.Minute @@ -435,6 +436,8 @@ func GetUploadURLByRegion(region string) string { return INBaseURL case "ap-southeast-1": return SGBaseURL + case "ca-central-1": + return CABaseURL case "us-gov-west-1": return GovBaseURL case "us-west-2-staging": From f10261327aa7017ef0ced3b5c5b0773abca9e368 Mon Sep 17 00:00:00 2001 From: Hudong Wang Date: Wed, 21 Jan 2026 13:58:28 -0800 Subject: [PATCH 2/4] update test --- client/client_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/client_test.go b/client/client_test.go index 284db11..0db308d 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -570,6 +570,10 @@ func Test_getUploadURLByRegion(t *testing.T) { if uploadURL != client.SGBaseURL { t.Error("SG URL was not generated correctly") } + uploadURL = client.GetUploadURLByRegion("ca-central-1") + if uploadURL != client.CABaseURL { + t.Error("CA URL was not generated correctly") + } uploadURL = client.GetUploadURLByRegion("us-gov-west-1") if uploadURL != client.GovBaseURL { t.Error("Gov URL was not generated correctly") From c33a2aae86c8149c660acbf053ac581f84c2a06f Mon Sep 17 00:00:00 2001 From: Hudong Wang Date: Wed, 21 Jan 2026 14:05:56 -0800 Subject: [PATCH 3/4] update version --- charts/metrics-agent/Chart.yaml | 4 ++-- charts/metrics-agent/values.yaml | 2 +- version/version.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/metrics-agent/Chart.yaml b/charts/metrics-agent/Chart.yaml index ef8f8f5..e5ecd47 100644 --- a/charts/metrics-agent/Chart.yaml +++ b/charts/metrics-agent/Chart.yaml @@ -14,8 +14,8 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 2.14.8 +version: 2.14.9 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 2.14.8 +appVersion: 2.14.9 diff --git a/charts/metrics-agent/values.yaml b/charts/metrics-agent/values.yaml index 69d9600..3516481 100644 --- a/charts/metrics-agent/values.yaml +++ b/charts/metrics-agent/values.yaml @@ -30,7 +30,7 @@ uploadRegion: "us-west-2" image: name: cloudability/metrics-agent - tag: 2.14.8 + tag: 2.14.9 pullPolicy: Always imagePullSecrets: [] diff --git a/version/version.go b/version/version.go index a12e076..fd44d91 100644 --- a/version/version.go +++ b/version/version.go @@ -1,4 +1,4 @@ package version // VERSION is the current version of the agent -var VERSION = "2.14.8" +var VERSION = "2.14.9" From 65dc95f9c96ac2346c19b22e38bcf5335f7df389 Mon Sep 17 00:00:00 2001 From: Hudong Wang Date: Wed, 21 Jan 2026 14:52:50 -0800 Subject: [PATCH 4/4] update version --- charts/metrics-agent/Chart.yaml | 4 ++-- charts/metrics-agent/values.yaml | 2 +- version/version.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/metrics-agent/Chart.yaml b/charts/metrics-agent/Chart.yaml index e5ecd47..7432183 100644 --- a/charts/metrics-agent/Chart.yaml +++ b/charts/metrics-agent/Chart.yaml @@ -14,8 +14,8 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 2.14.9 +version: 2.14.10 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 2.14.9 +appVersion: 2.14.10 diff --git a/charts/metrics-agent/values.yaml b/charts/metrics-agent/values.yaml index 3516481..959b349 100644 --- a/charts/metrics-agent/values.yaml +++ b/charts/metrics-agent/values.yaml @@ -30,7 +30,7 @@ uploadRegion: "us-west-2" image: name: cloudability/metrics-agent - tag: 2.14.9 + tag: 2.14.10 pullPolicy: Always imagePullSecrets: [] diff --git a/version/version.go b/version/version.go index fd44d91..5935225 100644 --- a/version/version.go +++ b/version/version.go @@ -1,4 +1,4 @@ package version // VERSION is the current version of the agent -var VERSION = "2.14.9" +var VERSION = "2.14.10"