Documentation ¶
Overview ¶
Package internal holds the global state for Statz
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMetric ¶
func RegisterMetric(name string)
RegisterMetric validates and registers a statz metric. Must be unique within the application. Panic on any failures to ensure we catch the errors early instead of loosing metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.