| Name | Synopsis |
|---|---|
| .. | |
| v3 | |
| api | package api contains the API definitions for external use, such as the RPC sink. |
| pb | Package pb contains the protobuf definitions for pgwatch gRPC API. |
| cmd | |
| convert_metrics | convert_metrics is a tool that converts v2 metric definitions to v3 format. |
| pgwatch | pgwatch is a command line tool that collects metrics from PostgreSQL databases and forwards to external sinks. |
| internal | |
| cmdopts | Package cmdopts provides functionality to parse command line options and ENV variables. |
| db | Package db provides common functionality to work with databases. |
| log | Package log contains the logger interface and its implementation used in the project. |
| metrics | Package metrics is responsible for reading and writing metric definitions. |
| reaper | Package reaper is responsible to query the metrics from monitored sources and send measurements to sinks. |
| sinks | Package sinks rovides functionality to store monitored data in different ways. |
| sources | Provides functionality to read monitored data from different sources. |
| webserver | Package webserver serves the REST API and the web user interface. |
| webui | Package webui provides a web-based user interface for the service. |