mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
prometheus: add node_id label to cache metrics
This commit is contained in:
committed by
Dan Christian Bogos
parent
bdd854d363
commit
8466a65d63
@@ -90,6 +90,12 @@ func (chSv1 *CacheSv1) GetCacheStats(ctx *context.Context, args *utils.AttrCache
|
||||
return chSv1.cacheS.V1GetCacheStats(ctx, args, rply)
|
||||
}
|
||||
|
||||
// GetStats returns CacheStats filtered by cacheIDs
|
||||
func (chSv1 *CacheSv1) GetStats(ctx *context.Context, args *utils.AttrCacheIDsWithAPIOpts,
|
||||
rply *engine.CacheStatsWithMetadata) error {
|
||||
return chSv1.cacheS.V1GetStats(ctx, args, rply)
|
||||
}
|
||||
|
||||
// PrecacheStatus checks status of active precache processes
|
||||
func (chSv1 *CacheSv1) PrecacheStatus(ctx *context.Context, args *utils.AttrCacheIDsWithAPIOpts, rply *map[string]string) error {
|
||||
return chSv1.cacheS.V1PrecacheStatus(ctx, args, rply)
|
||||
|
||||
Reference in New Issue
Block a user