generated from Patagia/template-nix
parent
441c38b3d5
commit
b1f701ddf2
7 changed files with 175 additions and 140 deletions
controller/src
|
@ -30,6 +30,8 @@ pub(crate) async fn version(
|
|||
|
||||
tracing::info_span!("Hello, span!");
|
||||
|
||||
tracing::info!(monotonic_counter.version_calls = 1);
|
||||
|
||||
async move {
|
||||
tracing::info!("Someone made a request to /version");
|
||||
tokio::time::sleep(std::time::Duration::from_millis(200)).await;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue