Skip to main content

Exporters and security CLI tools

Dockprom-AI uses open-source exporters and CLI tools. Enable only the tools needed for the host and keep optional scrape targets disabled or expected to be down until their service is installed.

Exporter reference​

DomainOpen-source integrationDefault endpointProject
HostNode Exporter:9100/metricsprometheus/node_exporter
PostgreSQLPostgreSQL Exporter:9187/metricsprometheus-community/postgres_exporter
OllamaOllama ExporterImplementation-specificmaravexa/ollama-exporter
NVIDIA GPUDCGM Exporter:9400/metricsNVIDIA/dcgm-exporter
AMD GPUAMD SMI ExporterImplementation-specificamd/amd_smi_exporter
Intel GPUDevice Plugins / GPU telemetryImplementation-specificintel/intel-device-plugins-for-kubernetes
OpenTelemetry CollectorCollector internal telemetry:8888/metricsopen-telemetry/opentelemetry-collector-contrib
CaddyBuilt-in Prometheus metrics:2019/metrics when enabledcaddyserver/caddy
FalcoFalco metrics / Falcosidekick:8765/metrics when configuredfalcosecurity/falco

Exporter metric names can change between releases. Pin exporter versions and validate the dashboard queries against /metrics before production rollout.

NVIDIA DCGM Exporter​

The nvidia Compose profile provides a placeholder service:

docker compose --profile nvidia up -d dcgm-exporter
curl --fail http://localhost:9400/metrics

This requires a supported NVIDIA driver and NVIDIA Container Toolkit. Do not enable the profile on non-NVIDIA hosts.

AMD and Intel GPU alternatives​

Do not run DCGM Exporter for AMD or Intel hardware. Use the vendor's open-source telemetry tool and either expose Prometheus metrics directly or write bounded metrics into the Node Exporter textfile collector.

Install Falco​

Follow the official Falco package-repository instructions for the host distribution. After adding the official repository, a Debian/Ubuntu host can install the CLI and service with:

sudo apt-get update
sudo apt-get install --yes falco
sudo systemctl enable --now falco
sudo falco --version

Configure Falco JSON output for structured Loki ingestion. Enable its metrics endpoint or deploy the open-source Falcosidekick component when Prometheus event counters are required. Keep custom rules in version control and validate them:

sudo falco --validate /etc/falco/falco.yaml
sudo falco --list

Falco requires elevated kernel visibility. Review the driver choice and host security policy before installation.

Install Trivy CLI​

Use the official Aqua Security repository or download a checksummed release. After configuring the official repository on Debian/Ubuntu:

sudo apt-get update
sudo apt-get install --yes trivy
trivy --version

Run CLI scans without committing reports containing secrets:

trivy repository --scanners vuln,secret,misconfig .
trivy config compose.yaml
trivy image --severity HIGH,CRITICAL --exit-code 1 grafana/grafana:13.3.0
trivy fs --format json --output /tmp/trivy-results.json .

Trivy does not expose a Prometheus endpoint by itself. For dashboards, convert a small non-sensitive scan summary to Node Exporter textfile metrics, or ship a redacted JSON summary to Loki. Never publish discovered secret values.

Operational safety​

  • Use read-only database roles for Grafana.
  • Bind local dashboards and exporters to loopback or the internal Docker network unless an authenticated proxy is present.
  • Keep source IPs and user identifiers out of metric labels.
  • Pin container images by digest for production.
  • Validate downloads with upstream checksums or package signatures.
  • Review exporter licenses and metric compatibility during upgrades.