# Functions
Collect records a metric with the provided name and value using [DefaultCollector].
NewCollector returns a new metrics collector.
Write writes the collected metrics to the specified [io.Writer] using [DefaultCollector].
WriteFile writes the collected metrics into the specified file using [DefaultCollector].
# Variables
DefaultCollector is the default [Collector].