cmd/

directory
v0.0.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: GPL-3.0

README

Cmds

These directories hold Go commands. Each command should have a README/manual page to document it.

NodeExporter Exporters

These programs live in the *ne sub directories, each binary have some common properties:

Generally we want node-exporter exporter to follow the following rules:

  • accept a -t flag to tells it how often we expect it to run. This flag's value in only used in the metrics.
  • accept a -w flag that tells it to write to /var/lib/prometheus/node-exporter/<basename>.prom -w=false just writes to standard output.
  • at least have the following metrics:
    • <name>_last_run_timestamp_seconds <epoch> - when did we run
    • <name>_run_duration_seconds <duration> - the value of -t

All NEs are packaged in cncz-ne package.

Directories

Path Synopsis
doc2hugo converts godoc formatted package documentation into Markdown format with a hugo header.
doc2hugo converts godoc formatted package documentation into Markdown format with a hugo header.
sdk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL