Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

monitoring: vastly improved searcher dashboard#47654

Merged
keegancsmith merged 8 commits into
mainfrom
k/searcher-grafana
Feb 15, 2023
Merged

monitoring: vastly improved searcher dashboard#47654
keegancsmith merged 8 commits into
mainfrom
k/searcher-grafana

Conversation

@keegancsmith

Copy link
Copy Markdown
Member

While investigating searcher metrics I noticed our dashboard for it pretty much has no information vs the wealth of metrics we record. As such I spiked an hour this morning adding dashboards to grafana. For context see these notes https://gist.github.com/keegancsmith/9e53a1df12b5b863249c59539c0410fd

I recommend just taking a look at the screenshots then briefly reviewing queries.

Before:

image

After:

image

image

Test Plan

Ran monitoring stack against production prometheus. Note: I wasted a lot of time trying to get this work on linux, but it seems a bunch of our stuff is broken there for local dev + grafana. So this only worked on my macbook.

kubectl --namespace=prod port-forward svc/prometheus 9090:30090
sg run grafana monitoring-generator

@keegancsmith keegancsmith requested review from a team and chwarwick February 15, 2023 08:07
@cla-bot cla-bot Bot added the cla-signed label Feb 15, 2023
We introduce another graph which is the rate of traffic per response
code. This is the first graph seen and gives a much better picture of
what the service is doing and how well it is doing it.

We keep the error percantage graph, but now it is the second row. The
next commit will add another graph on that row to make it less big.
@github-actions

Copy link
Copy Markdown
Contributor

Problem: the label i-acknowledge-this-goes-into-the-release is absent.
👉 What to do: we're in the next Sourcegraph release code freeze period. If you are 100% sure your changes should get released or provide no risk to the release, add the label your PR with i-acknowledge-this-goes-into-the-release.

@sourcegraph-bot

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 260335c...0cffb93.

Notify File(s)
@bobheadxi monitoring/definitions/searcher.go
@slimsag monitoring/definitions/searcher.go
@sourcegraph/delivery doc/admin/observability/alerts.md
doc/admin/observability/dashboards.md
monitoring/definitions/searcher.go

@chwarwick chwarwick left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me and I'll keep an eye on this dashboard as I run some insights.

@keegancsmith keegancsmith merged commit 979f490 into main Feb 15, 2023
@keegancsmith keegancsmith deleted the k/searcher-grafana branch February 15, 2023 16:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants