Skip to content

Commit fece9f4

Browse files
BCDA-9617: Fix JobQueueCount metric name (#1270)
## 🎫 Ticket https://jira.cms.gov/browse/BCDA-9617 ## 🛠 Changes Swap name and namespace fields in function. ## ℹ️ Context Data is now making its way to Cloudwatch metrics, its just named incorrectly :(. <!-- If any of the following security implications apply, this PR must not be merged without Stephen Walter's approval. Explain in this section and add @SJWalter11 as a reviewer. - Adds a new software dependency or dependencies. - Modifies or invalidates one or more of our security controls. - Stores or transmits data that was not stored or transmitted before. - Requires additional review of security implications for other reasons. --> ## 🧪 Validation Deploy to prod.
1 parent 4a9646d commit fece9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bcdaworker/queueing/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ func updateJobQueueCountCloudwatchMetric(ctx context.Context, db *sql.DB, log lo
146146
if cloudWatchEnv != "" {
147147
err := bcdaaws.PutMetricSample(
148148
ctx,
149-
"JobQueueCount",
150149
"BCDA",
150+
"JobQueueCount",
151151
"Count",
152152
getQueueJobCount(db, log),
153153
[]types.Dimension{{Name: aws.String("Environment"), Value: aws.String(cloudWatchEnv)}},

0 commit comments

Comments
 (0)