scanner

command
v2.31.6 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package main provides a tool to scan Go source files and extract Prometheus metric definitions. It outputs metrics in Prometheus text exposition format to stdout for use by the documentation generator.

Usage:

go run ./scripts/metricsdocgen/scanner > scripts/metricsdocgen/generated_metrics

Jump to

Keyboard shortcuts

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