package
2.0.0-beta+incompatible
Repository: https://github.com/ibm/fabric.git
Documentation: pkg.go.dev
# Functions
FileOptions walks the specified ast.File for options structs used when creating metrics and returns instances that are recreated from the source.
NewCells transforms metrics options to cells that can be used for doc generation.
NewPrometheusTable creates a table that can be used to document Prometheus metrics maintained by Fabric.
NewStatsdTable creates a table that can be used to document StatsD metrics maintained by Fabric.
Options scans the provided list of packages for options structs used when creating metrics and returns instances that are recreated from the source tree.
# Constants
Bucket is the statsd bucket format.
Description is the help text from the meter option.
Labels is the meter's label information.
Name is the meter name.
Type is the type of meter option.