Documentation ¶
Overview ¶
Package internalcontext contains a function to store custom metrics in context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCustomMetrics ¶
WithCustomMetrics creates a CustomMetrics with dedicated tsmon.State to register custom metrics from service config, and store it in context.
Placing this function in metrics package would cause an import loop.
This function should only be called at server start up.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.