Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 9ad5b7f

Browse files
authored
Update influxdb2.rs
1 parent fca1a29 commit 9ad5b7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/influxdb2.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ byond_fn!(
8686
.as_secs()
8787
.to_string();
8888
for entry in data {
89+
if entry.name.is_empty() {
90+
continue;
91+
}
8992
lines.push(concat_string!("profile,proc=", entry.name, " self=", entry.self_.to_string(), ",total=", entry.total.to_string(), ",real=", entry.real.to_string(), ",over=", entry.over.to_string(), ",calls=", entry.calls.to_string(), ",round_id=", round_id.to_string(), " ", timestamp));
9093
}
9194

0 commit comments

Comments
 (0)