Use ureq instead of influx_db_client (#5839)

This commit is contained in:
Michael Vines
2019-09-07 12:48:45 -07:00
committed by GitHub
parent affcb5ec43
commit df205f8752
8 changed files with 322 additions and 533 deletions

View File

@ -1332,17 +1332,13 @@ fn send_signals(
for (signal, slots) in completed_slots_senders.iter().zip(slots.into_iter()) {
let res = signal.try_send(slots);
if let Err(TrySendError::Full(_)) = res {
solana_metrics::submit(
solana_metrics::influxdb::Point::new("blocktree_error")
.add_field(
"error",
solana_metrics::influxdb::Value::String(
"Unable to send newly completed slot because channel is full"
.to_string(),
),
)
.to_owned(),
log::Level::Error,
datapoint_error!(
"blocktree_error",
(
"error",
"Unable to send newly completed slot because channel is full".to_string(),
String
),
);
}
}