sourcegraph/monitoring
Michael Lin b24c577fc2
monitoring: add repo cnt to dashboard (#48653)
it will be nice to show repo count in the dashboard

context:
https://sourcegraph.slack.com/archives/C03LCPCT3SP/p1677875955414389

cloud would like to compare repo count across all instances

## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

CI
2023-03-03 21:12:13 +00:00
..
command bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
definitions monitoring: add repo cnt to dashboard (#48653) 2023-03-03 21:12:13 +00:00
grafanaclient bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
monitoring Housekeeping: Rename variables to avoid collisions with packages (#47179) 2023-01-31 16:28:43 +01:00
.gitattributes Add missing .gitattributes files for various generated files (#30092) 2022-01-25 16:36:21 +05:30
BUILD.bazel bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
CODENOTIFY CODENOTIFY: re-route distribution subscriptions to delivery (#38524) 2022-07-11 02:47:45 +00:00
go.mod bazel: build the //lib folder (#46929) 2023-01-27 15:30:35 +01:00
go.sum bazel: build the //lib folder (#46929) 2023-01-27 15:30:35 +01:00
main.go monitoring: extract into a submodule (#45786) 2022-12-19 17:49:25 +00:00
README.md Update handbook links in doc (#26848) 2021-11-02 00:09:49 +08:00

Sourcegraph monitoring generator

This page documents usage (running the generator) and development (of the generator itself). For background and feature documentation, see the generator overview. To learn about how to find, add, and use monitoring, see the Sourcegraph observability developer guide.

Usage

From this directory:

go generate ./...

Logging output supports the Sourcegraph log level flags. Other configuration options can be customized via flags declared in main.go.

Development

The Sourcegraph monitoring generator consists of three components:

All features and capabilities for developed for the generator should align with the Sourcegraph monitoring pillars.