mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 00:03:07 +00:00
fix: improve memory metrics graph
This commit is contained in:
@@ -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);
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user