Skip to main content

observe_sql_query

Function observe_sql_query 

Source
pub async fn observe_sql_query<T, E, Fut>(
    metrics: Option<&MetricsRegistry>,
    db_kind: &str,
    repository: &str,
    method: &str,
    operation: &str,
    future: Fut,
) -> Result<T, E>
where E: Display, Fut: Future<Output = Result<T, E>>,
Expand description

Observes one SQL query future without recording SQL text or parameter values.