fix configurations: TargetMetrics

This commit is contained in:
Ulric Qin 2022-08-10 10:36:02 +08:00
parent f18ed76593
commit 1a446f0749
1 changed files with 3 additions and 3 deletions

View File

@ -204,6 +204,6 @@ BasicAuthPass = "ibex"
Timeout = 3000 Timeout = 3000
[TargetMetrics] [TargetMetrics]
TargetUp = "max(max_over_time(target_up{ident=~"(%s)"}[%dm])) by (ident)" TargetUp = '''max(max_over_time(target_up{ident=~"(%s)"}[%dm])) by (ident)'''
LoadPerCore = "max(max_over_time(system_load_norm_1{ident=~"(%s)"}[%dm])) by (ident)" LoadPerCore = '''max(max_over_time(system_load_norm_1{ident=~"(%s)"}[%dm])) by (ident)'''
MemUtil = "100-max(max_over_time(mem_available_percent{ident=~"(%s)"}[%dm])) by (ident)" MemUtil = '''100-max(max_over_time(mem_available_percent{ident=~"(%s)"}[%dm])) by (ident)'''