fix: improve memory metrics graph

This commit is contained in:
Ruben Fiszel
2025-03-20 09:54:55 +01:00
parent 299c1430eb
commit debf68734b
4 changed files with 6 additions and 5 deletions
@@ -0,0 +1 @@
-- Add down migration script here
@@ -0,0 +1,3 @@
-- Add up migration script here
ALTER TABLE variable
ALTER COLUMN description TYPE VARCHAR(10000);
+1 -4
View File
@@ -49,10 +49,7 @@ pub async fn register_metric_for_job(
.await?
.flatten();
if exists.unwrap_or(false) {
return Err(error::Error::BadRequest(format!(
"Metric {} is already registered for job {}",
metric_id, job_id
)));
return Ok(metric_id);
}
let (scalar_int, scalar_float, timestamps, timeseries_int, timeseries_float) = match metric_kind
+1 -1
View File
@@ -341,7 +341,7 @@ async fn handle_docker_job(
tracing::error!("Error getting logs: {:?}", e);
}
_ => {
tracing::error!("End of stream");
tracing::info!("End of docker logs stream");
return
}
};