Directories
¶
| Path | Synopsis |
|---|---|
|
agent
|
|
|
cloud
Package cloud collects from public clouds: an AWS CloudWatch GetMetricData poller, the AWS Resource Groups Tagging API as inventory, and an Azure Event Hubs consumer (Kafka endpoint).
|
Package cloud collects from public clouds: an AWS CloudWatch GetMetricData poller, the AWS Resource Groups Tagging API as inventory, and an Azure Event Hubs consumer (Kafka endpoint). |
|
container
Package container collects container metrics and events from the Docker Engine API (unix socket or Windows named pipe) and, on Linux, from cgroup v2 files for containerd and podman.
|
Package container collects container metrics and events from the Docker Engine API (unix socket or Windows named pipe) and, on Linux, from cgroup v2 files for containerd and podman. |
|
custom
Package custom holds the customer-extensible check modules of wt-agent: Nagios-style plugins and Prometheus text-exposition scrapes.
|
Package custom holds the customer-extensible check modules of wt-agent: Nagios-style plugins and Prometheus text-exposition scrapes. |
|
dbm
Package dbm is database monitoring beyond counters (INF-027, APM-008, APM-024): bind-safe statement text, lock/wait chains and blocking sessions.
|
Package dbm is database monitoring beyond counters (INF-027, APM-008, APM-024): bind-safe statement text, lock/wait chains and blocking sessions. |
|
gpu
Package gpu reads GPU metrics from the vendor command-line tools at locally configured paths.
|
Package gpu reads GPU metrics from the vendor command-line tools at locally configured paths. |
|
host
Package host collects host and process metrics with OTel semantic-convention names, through gopsutil (pure Go, no cgo, Linux/Windows/macOS).
|
Package host collects host and process metrics with OTel semantic-convention names, through gopsutil (pure Go, no cgo, Linux/Windows/macOS). |
|
integrations
Package integrations holds the integration manifests (what a product looks like, what to alert on) and the database, queue and service collectors that feed them.
|
Package integrations holds the integration manifests (what a product looks like, what to alert on) and the database, queue and service collectors that feed them. |
|
k8s
Package k8s is the Kubernetes side of wt-agent: a node agent (DaemonSet: kubelet usage metrics, pod logs, scrape discovery) and a cluster agent (one elected Deployment replica: object state metrics, events, spec-change history).
|
Package k8s is the Kubernetes side of wt-agent: a node agent (DaemonSet: kubelet usage metrics, pod logs, scrape discovery) and a cluster agent (one elected Deployment replica: object state metrics, events, spec-change history). |
|
logs
Package logs collects system logs: file tails (with offsets kept per inode and multiline joining), journald, the Windows Event Log and a syslog receiver, all forwarded as OTLP logs.
|
Package logs collects system logs: file tails (with offsets kept per inode and multiline joining), journald, the Windows Event Log and a syslog receiver, all forwarded as OTLP logs. |
|
sink
Package sink is the write side every collector module uses.
|
Package sink is the write side every collector module uses. |
|
snmp
Package snmp polls devices over SNMP v1, v2c and v3, receives traps and turns both into metrics and logs.
|
Package snmp polls devices over SNMP v1, v2c and v3, receives traps and turns both into metrics and logs. |
|
snmp/mibc
Package mibc compiles SMIv1/SMIv2 MIB modules into the agent's SNMP manifests and trap profiles (INF-014, INF-015, gap G-20), so a vendor MIB can be polled and its traps named without hand-written YAML.
|
Package mibc compiles SMIv1/SMIv2 MIB modules into the agent's SNMP manifests and trap profiles (INF-014, INF-015, gap G-20), so a vendor MIB can be polled and its traps named without hand-written YAML. |
|
internal
|
|
|
archivecrypt
Package archivecrypt is the format of encrypted archive objects and wrapped data keys (G6-07), shared by the archiver and `wtctl archive decrypt`.
|
Package archivecrypt is the format of encrypted archive objects and wrapped data keys (G6-07), shared by the archiver and `wtctl archive decrypt`. |
|
ascode
Package ascode is the configuration-as-code engine shared by `wtctl apply|diff|export` and the Terraform provider: manifests of kind X named N in project P map onto the project REST API.
|
Package ascode is the configuration-as-code engine shared by `wtctl apply|diff|export` and the Terraform provider: manifests of kind X named N in project P map onto the project REST API. |
|
ascode/ascodetest
Package ascodetest is an in-memory Watchtower project API for the as-code tests: it follows the REST shapes of the kinds table (list pages, POST create, PUT/PATCH/DELETE by id or name).
|
Package ascodetest is an in-memory Watchtower project API for the as-code tests: it follows the REST shapes of the kinds table (list pages, POST create, PUT/PATCH/DELETE by id or name). |
|
netguard
Package netguard keeps probes and webhook senders away from private networks (SSRF).
|
Package netguard keeps probes and webhook senders away from private networks (SSRF). |
|
recorder
Package recorder captures raw browser events (navigation, clicks, input, keys) in a visible Chromium on the user's machine.
|
Package recorder captures raw browser events (navigation, clicks, input, keys) in a visible Chromium on the user's machine. |
|
repofile
Package repofile finds repository files from tests, whether the code sits in the monorepo (go/ under the root) or in a mirrored public repo (the module at the root).
|
Package repofile finds repository files from tests, whether the code sits in the monorepo (go/ under the root) or in a mirrored public repo (the module at the root). |
|
srcconv
Package srcconv holds the decoders that turn third-party wire formats (Datadog Agent, Splunk HEC, MessagePack) into OTLP messages.
|
Package srcconv holds the decoders that turn third-party wire formats (Datadog Agent, Splunk HEC, MessagePack) into OTLP messages. |
|
Package pluginsdk is the Watchtower plugin SDK (ADR-0036): a plugin is a separate process served over HashiCorp go-plugin (gRPC, MPL-2.0) that implements Source, Action and/or Filter.
|
Package pluginsdk is the Watchtower plugin SDK (ADR-0036): a plugin is a separate process served over HashiCorp go-plugin (gRPC, MPL-2.0) that implements Source, Action and/or Filter. |
|
examples/hello_source
command
Command hello_source is the smallest data-source plugin.
|
Command hello_source is the smallest data-source plugin. |
|
sources/graphite
command
Command graphite is the Graphite data source: a panel's query is "<host>|<target>".
|
Command graphite is the Graphite data source: a panel's query is "<host>|<target>". |
|
sources/influxdb
command
Command influxdb is the InfluxDB data source: a panel's query is "<host>|<db>|<InfluxQL>", with $timeFilter in its WHERE, or "<host>|flux:<org>|<Flux>" (InfluxDB 2), with v.timeRangeStart and v.timeRangeStop in its range().
|
Command influxdb is the InfluxDB data source: a panel's query is "<host>|<db>|<InfluxQL>", with $timeFilter in its WHERE, or "<host>|flux:<org>|<Flux>" (InfluxDB 2), with v.timeRangeStart and v.timeRangeStop in its range(). |
|
sources/opentsdb
command
Command opentsdb is the OpenTSDB data source: a panel's query is "<host>|sum:metric{tag=value}".
|
Command opentsdb is the OpenTSDB data source: a panel's query is "<host>|sum:metric{tag=value}". |
|
sources/tsdb
Package tsdb has the query paths of the InfluxDB, Graphite and OpenTSDB source plugins: each builds its request, and turns the answer into time series frames.
|
Package tsdb has the query paths of the InfluxDB, Graphite and OpenTSDB source plugins: each builds its request, and turns the answer into time series frames. |
|
Package wtapi provides primitives to interact with the openapi HTTP API.
|
Package wtapi provides primitives to interact with the openapi HTTP API. |
|
Command wtctl is the Watchtower operator CLI.
|
Command wtctl is the Watchtower operator CLI. |
|
lsp
Package lsp is the stdio language server behind `wtctl lsp` (LSP 3.17): production latency and error lenses and hovers on functions.
|
Package lsp is the stdio language server behind `wtctl lsp` (LSP 3.17): production latency and error lenses and hovers on functions. |
Click to show internal directories.
Click to hide internal directories.