Skip to content

Commit

Permalink
add row/panel for scheduling alert
Browse files Browse the repository at this point in the history
- this change adds a panel for alerts, and then adds the query we use for our SLO scheduling alert, setting the threshold to match our initial SLO overhead percentage, 3%
- also updated the developer instructions to explain how to export without including the datasource uid's set during local testing
  • Loading branch information
gabemontero authored and Roming22 committed Oct 5, 2023
1 parent 3f12d08 commit 09fc703
Show file tree
Hide file tree
Showing 2 changed files with 3,624 additions and 3,515 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ To iterate on your dashboard (deploying with `--use-current-branch`):

1. Navigate to the Pipeline Service dashboard in Grafana.
2. Add the panels and/or rows for your metrics as desired.
3. Click the "Share" icon to save the dashboard to JSON.
3. Click the "Share" icon to save the dashboard to JSON. You use the "Export" tab. Be sure and check "Export for sharing externally"; otherwise, the `datasource` references will have the `uid` entries specific to your cluster, which are not portable to staging or prod long term. NOTE: pipeline-service PR checks should prevent you from checking in dashboard JSON with those refs.
4. Copy the JSON into the pipeline-service-dashboard.json file, located in
`operator/gitops/argocd/grafana/dashboards`.
5. Remove any `datasource` references with `uid` entries. Those `uid` entries will not work on staging or prod. And if you are editing the JSON file form staging or prod, those `uid` entries will become stale.
6. Commit the updated JSON, push to your branch, and verify the dashboard is
5. Commit the updated JSON, push to your branch, and verify the dashboard is
updated once ArgoCD syncs your repository.

## Components
Expand Down
Loading

0 comments on commit 09fc703

Please sign in to comment.