Skip to content

Commit

Permalink
lil docs
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Jan 22, 2025
1 parent aaa750f commit caaca9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mirrord/agent/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ async fn get_metrics(State(state): State<Arc<Metrics>>) -> (StatusCode, String)
}
}

/// Starts the mirrord-agent prometheus metrics service.
///
/// You can get the metrics from `GET address/metrics`.
///
/// - `address`: comes from a mirrord-agent config.
#[tracing::instrument(level = Level::TRACE, skip_all, ret ,err)]
pub(crate) async fn start_metrics(
address: SocketAddr,
Expand Down

0 comments on commit caaca9a

Please sign in to comment.