Skip to content

Commit

Permalink
Modify user labels to include project region ans instance id separately
Browse files Browse the repository at this point in the history
Modify project to project_id
  • Loading branch information
sowmyagiri-google committed Aug 7, 2023
1 parent 5fe8bef commit 4f99bfb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"userLabels": {
"context": "${CONTEXT}",
"resource_type": "${RESOURCE_TYPE}",
"instance_id": "${INSTANCE_NAME}"
"project_id": "${PROJECT_ID}",
"region": "${REGION}",
"instance_id": "${INSTANCE_ID}"
},
"conditions": [
{
Expand Down
4 changes: 3 additions & 1 deletion alerts/google-cloud-redis/standard-instance-failover.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"userLabels": {
"context": "${CONTEXT}",
"resource_type": "${RESOURCE_TYPE}",
"instance_id": "${INSTANCE_NAME}"
"project_id": "${PROJECT_ID}",
"region": "${REGION}",
"instance_id": "${INSTANCE_ID}"
},
"conditions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"userLabels": {
"context": "${CONTEXT}",
"resource_type": "${RESOURCE_TYPE}",
"instance_id": "${INSTANCE_NAME}"
"project_id": "${PROJECT_ID}",
"region": "${REGION}",
"instance_id": "${INSTANCE_ID}"
},
"conditions": [
{
Expand Down

0 comments on commit 4f99bfb

Please sign in to comment.