We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 467ef80 commit f91902cCopy full SHA for f91902c
1 file changed
rootfs/api/monitor.py
@@ -119,7 +119,7 @@ async def last_metrics(namespace):
119
if not settings.DRYCC_METRICS_CONFIG:
120
return
121
promql = query_last_metrics_promql_tpl % (
122
- '|'.join(settings.DRYCC_METRICS_CONFIG.keys()), namespace, '1m')
+ '|'.join(settings.DRYCC_METRICS_CONFIG.keys()), namespace, '2m')
123
url = urljoin(settings.DRYCC_PROMETHEUS_URL, "/api/v1/query")
124
params = {"query": promql, "start": int(time.time() - 60)}
125
async with aiohttp.ClientSession() as session:
0 commit comments