mirror of
https://github.com/chylex/Apache-Prometheus-Exporter.git
synced 2025-11-03 10:40:14 +01:00
Compare commits
1 Commits
main
...
8a9a5b9aaa
| Author | SHA1 | Date | |
|---|---|---|---|
|
8a9a5b9aaa
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -25,7 +25,7 @@ checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "apache_prometheus_exporter"
|
name = "apache_prometheus_exporter"
|
||||||
version = "1.0.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"hyper",
|
"hyper",
|
||||||
|
|||||||
@@ -161,11 +161,6 @@ impl LogWatcher {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
while let Ok(Some(_)) = self.state.lines.next_line().await {
|
|
||||||
// There are occasional spurious file creation events, so reading
|
|
||||||
// from the beginning would read lines that were already counted.
|
|
||||||
}
|
|
||||||
|
|
||||||
continue 'read_loop;
|
continue 'read_loop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user