sourcegraph/monitoring
Tomás Senart bce37c82aa
monitoring: Database connections monitoring (#22570)
* Revert "Revert "dbconn: Better SQL pool stats (#22523)""

This reverts commit 18c8696687.

* Remove dependency on sqlstats

* codeintel: Avoid duplicate app name

* dbconn: Parameterise dbname for Prometheus label

* monitoring: Database connections monitoring

* Add CHANGELOG entry

* fixup! Add PR link to CHANGELOG

* fixup! Fix insights test

* fixup! Introduce dbconn.Opts for readability
2021-07-05 10:24:20 +00:00
..
definitions monitoring: Database connections monitoring (#22570) 2021-07-05 10:24:20 +00:00
monitoring monitoring: Small code cleanups (#22321) 2021-06-24 14:16:48 +02:00
CODENOTIFY Add Distribution to monitoring/ CODENOTIFY (#16830) 2020-12-16 16:26:12 +01:00
main.go worker: Add skeleton service (#21768) 2021-06-04 14:48:13 -05:00
README.md doc(dev): monitoring how-to guides, observability background (#16965) 2020-12-24 14:51:42 +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.