Skip to content

Commit

Permalink
Change the Splunk URL for logging (#3665)
Browse files Browse the repository at this point in the history
**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](powerhome/tempo#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.
  • Loading branch information
c-gerke authored Sep 9, 2024
1 parent c91c2f1 commit 682330f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion milano.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion milano.staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion milano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 682330f

Please sign in to comment.