Documentation
¶
Overview ¶
Command nsr_exporter is a Prometheus + OTLP exporter for Dell EMC NetWorker.
It runs one background loop that polls every configured NetWorker system on an interval, publishes an immutable snapshot, and serves /metrics (and OTLP push) from that snapshot so scrapes never reach the backend.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
mocknw
command
Command mocknw is a self-contained, offline NetWorker REST API emulator for local development and testing.
|
Command mocknw is a self-contained, offline NetWorker REST API emulator for local development and testing. |
|
internal
|
|
|
config
Package config loads and validates the exporter's YAML configuration.
|
Package config loads and validates the exporter's YAML configuration. |
|
logging
Package logging configures the shared logrus logger.
|
Package logging configures the shared logrus logger. |
|
models
Package models holds the backend-agnostic data types shared across the exporter: the unified metric Sample emitted by collectors and the immutable Snapshot that both export paths read from.
|
Package models holds the backend-agnostic data types shared across the exporter: the unified metric Sample emitted by collectors and the immutable Snapshot that both export paths read from. |
|
nsr
Package nsr implements the NetWorker collection layer: the background collection loop, the immutable snapshot store, the per-domain resource collectors, and the two export paths (Prometheus unchecked collector and OTLP observable gauges) that both read the same snapshot.
|
Package nsr implements the NetWorker collection layer: the background collection loop, the immutable snapshot store, the per-domain resource collectors, and the two export paths (Prometheus unchecked collector and OTLP observable gauges) that both read the same snapshot. |
|
nsrclient
Package nsrclient is a lean go-resty/resty/v2 wrapper for the NetWorker REST API.
|
Package nsrclient is a lean go-resty/resty/v2 wrapper for the NetWorker REST API. |
Click to show internal directories.
Click to hide internal directories.