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
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.
The text was updated successfully, but these errors were encountered:
The main task of MetricManager is to manage metric name of a sample, it will:
value
, and its type is f64.The text was updated successfully, but these errors were encountered: