Merge pull request #1283 from influxdata/debug-log-errors
feat(iox): Log write points errors at debug levelpull/24376/head
commit
1741c063f6
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue