Merge pull request #1283 from influxdata/debug-log-errors

feat(iox): Log write points errors at debug level
pull/24376/head
kodiakhq[bot] 2021-04-23 13:24:53 +00:00 committed by GitHub
commit 1741c063f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -452,6 +452,8 @@ where
IOXD_METRICS IOXD_METRICS
.lp_lines_errors .lp_lines_errors
.add(lines.len() as u64, &metric_kv); .add(lines.len() as u64, &metric_kv);
let num_lines = lines.len();
debug!(?e, ?db_name, ?num_lines, "error writing lines");
match e { match e {
server::Error::DatabaseNotFound { .. } => ApplicationError::DatabaseNotFound { server::Error::DatabaseNotFound { .. } => ApplicationError::DatabaseNotFound {