additional info level span adjustments
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
af399fd517
commit
329925c661
7 changed files with 24 additions and 13 deletions
|
@ -2,8 +2,8 @@ use std::{fmt::Debug, mem};
|
|||
|
||||
use bytes::Bytes;
|
||||
use conduwuit::{
|
||||
debug, debug_error, debug_warn, err, error::inspect_debug_log, implement, trace,
|
||||
utils::string::EMPTY, Err, Error, Result,
|
||||
debug, debug::INFO_SPAN_LEVEL, debug_error, debug_warn, err, error::inspect_debug_log,
|
||||
implement, trace, utils::string::EMPTY, Err, Error, Result,
|
||||
};
|
||||
use http::{header::AUTHORIZATION, HeaderValue};
|
||||
use ipaddress::IPAddress;
|
||||
|
@ -48,7 +48,8 @@ where
|
|||
|
||||
#[implement(super::Service)]
|
||||
#[tracing::instrument(
|
||||
level = "debug"
|
||||
name = "fed",
|
||||
level = INFO_SPAN_LEVEL,
|
||||
skip(self, client, request),
|
||||
)]
|
||||
pub async fn execute_on<T>(
|
||||
|
|
|
@ -3,7 +3,7 @@ use std::{
|
|||
time::Instant,
|
||||
};
|
||||
|
||||
use conduwuit::{debug, err, implement, warn, Err, Result};
|
||||
use conduwuit::{debug, debug::INFO_SPAN_LEVEL, err, implement, warn, Err, Result};
|
||||
use futures::{
|
||||
future::{try_join5, OptionFuture},
|
||||
FutureExt,
|
||||
|
@ -42,7 +42,7 @@ use crate::rooms::timeline::RawPduId;
|
|||
#[implement(super::Service)]
|
||||
#[tracing::instrument(
|
||||
name = "pdu",
|
||||
level = "debug",
|
||||
level = INFO_SPAN_LEVEL,
|
||||
skip_all,
|
||||
fields(%room_id, %event_id),
|
||||
)]
|
||||
|
|
|
@ -5,7 +5,8 @@ use std::{
|
|||
};
|
||||
|
||||
use conduwuit::{
|
||||
debug, implement, utils::continue_exponential_backoff_secs, Err, PduEvent, Result,
|
||||
debug, debug::INFO_SPAN_LEVEL, implement, utils::continue_exponential_backoff_secs, Err,
|
||||
PduEvent, Result,
|
||||
};
|
||||
use ruma::{CanonicalJsonValue, EventId, OwnedEventId, RoomId, ServerName, UInt};
|
||||
|
||||
|
@ -14,7 +15,7 @@ use ruma::{CanonicalJsonValue, EventId, OwnedEventId, RoomId, ServerName, UInt};
|
|||
#[allow(clippy::too_many_arguments)]
|
||||
#[tracing::instrument(
|
||||
name = "prev",
|
||||
level = "debug",
|
||||
level = INFO_SPAN_LEVEL,
|
||||
skip_all,
|
||||
fields(%prev_id),
|
||||
)]
|
||||
|
|
|
@ -268,7 +268,7 @@ impl Service {
|
|||
}
|
||||
|
||||
/// Gets the summary of a space using solely federation
|
||||
#[tracing::instrument(skip(self))]
|
||||
#[tracing::instrument(level = "debug", skip(self))]
|
||||
async fn get_summary_and_children_federation(
|
||||
&self,
|
||||
current_room: &OwnedRoomId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue