From 682330f0252e6e96c9fd52aa0e002576cf0782df Mon Sep 17 00:00:00 2001 From: Colton Gerke Date: Mon, 9 Sep 2024 16:25:56 -0400 Subject: [PATCH] Change the Splunk URL for logging (#3665) **What does this PR do?** A clear and concise description with your runway ticket url. Copy the new URL from the original idea in Tempo [PR #3691](https://github.com/powerhome/tempo/pull/3691) **Screenshots:** Screenshots to visualize your addition/change **How to test?** Steps to confirm the desired behavior: 1. Go to a Milano environment 2. Click on "More" in the top right, and then "logs" 3. Logs won't appear because the URL needs to change #### Checklist: - [ ] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new kit`, `deprecated`, or `breaking`. See [Changelog & Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels) for details. - [ ] **DEPLOY** I have added the `milano` label to show I'm ready for a review. - [ ] **TESTS** I have added test coverage to my code. --- milano.production.yml | 2 +- milano.staging.yml | 2 +- milano.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/milano.production.yml b/milano.production.yml index a5b5e0c582..66f7a0dc03 100644 --- a/milano.production.yml +++ b/milano.production.yml @@ -13,7 +13,7 @@ rollback: <<: *deploy links: - logs: "https://splunk.powerapp.cloud/en-US/app/search/search?q=search%20k8s.namespace.name%3D%22$GITHUB_REPO_NAME-$ENVIRONMENT%22&earliest=-15m&latest=now" + logs: "https://splunk.powerapp.cloud/en-US/app/search/search?q=search%20k8s.namespace.name%3D%22$GITHUB_REPO_NAME-$ENVIRONMENT%22%20index%3D%22app-prod-*%22&earliest=-15m&latest=now" metrics_hq: "https://metrics.powerapp.cloud/d/s9c8D_K7k/pod-resource-usage?orgId=1&refresh=1m&var-datasource=prometheus-app-prod-hq&var-namespace=playbook-production&var-filter=.*&var-pod=All" metrics_gotham: "https://metrics.powerapp.cloud/d/s9c8D_K7k/pod-resource-usage?orgId=1&var-datasource=prometheus-app-prod-gm&var-namespace=playbook-production&var-filter=.*&var-pod=All&refresh=1m" diff --git a/milano.staging.yml b/milano.staging.yml index 7adba394ba..da46d2664c 100644 --- a/milano.staging.yml +++ b/milano.staging.yml @@ -13,7 +13,7 @@ rollback: <<: *deploy links: - logs: "https://splunk.powerapp.cloud/en-US/app/search/search?q=search%20k8s.namespace.name%3D%22$GITHUB_REPO_NAME-$ENVIRONMENT%22&earliest=-15m&latest=now" + logs: "https://splunk.powerapp.cloud/en-US/app/search/search?q=search%20k8s.namespace.name%3D%22$GITHUB_REPO_NAME-$ENVIRONMENT%22%20index%3D%22app-beta-*%22&earliest=-15m&latest=now" metrics: "https://metrics.powerapp.cloud/d/s9c8D_K7k/pod-resource-usage?orgId=1&refresh=10s&var-datasource=prometheus-app-beta-hq&var-namespace=$ENVIRONMENT&var-filter=.%2B&var-pod=All" ci: diff --git a/milano.yml b/milano.yml index a86a0f2cee..d1ebd7a604 100644 --- a/milano.yml +++ b/milano.yml @@ -13,7 +13,7 @@ rollback: <<: *deploy links: - logs: "https://splunk.powerapp.cloud/en-US/app/search/search?q=search%20k8s.namespace.name%3D%22$GITHUB_REPO_NAME-$ENVIRONMENT%22&earliest=-15m&latest=now" + logs: "https://splunk.powerapp.cloud/en-US/app/search/search?q=search%20k8s.namespace.name%3D%22$GITHUB_REPO_NAME-$ENVIRONMENT%22%20index%3D%22$CLUSTER%22&earliest=-15m&latest=now" metrics: "https://metrics.powerapp.cloud/d/s9c8D_K7k/pod-resource-usage?orgId=1&refresh=10s&var-datasource=prometheus-$CLUSTER&var-namespace=playbook-$ENVIRONMENT&var-filter=.%2B&var-pod=All" ci: