You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
The main task of MetricManager is to manage metric name of a sample, it will:
Calculate the id for metric name, using seahash. Since there is no field concept in prometheus, we could use a hard-coded one, such as value, and its type is f64.
Persist new name to storage. For existing metric name, we should avoid this step, since it will involve IO operation.
In order to support 2, we need to add a cache, and when server start up, we load all existing metric name into cache.