Skip to content

Commit

Permalink
Merge pull request #605 from sowmyagiri-google/google-cloud-redis
Browse files Browse the repository at this point in the history
Modify user labels to include project region ans instance id separately
  • Loading branch information
cocosheng authored Aug 7, 2023
2 parents 4882af5 + 4f99bfb commit 124d64b
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 124d64b

Please sign in to comment.