Skip to content

Conversation

shepmaster
Copy link
Member

@shepmaster shepmaster commented May 1, 2021

Example metrics:

# HELP playground_request_duration_seconds Number of requests made
# TYPE playground_request_duration_seconds histogram
playground_request_duration_seconds_bucket{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false",le="0.1"} 0
playground_request_duration_seconds_bucket{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false",le="1"} 0
playground_request_duration_seconds_bucket{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false",le="2.5"} 0
playground_request_duration_seconds_bucket{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false",le="5"} 0
playground_request_duration_seconds_bucket{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false",le="10"} 0
playground_request_duration_seconds_bucket{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false",le="15"} 1
playground_request_duration_seconds_bucket{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false",le="+Inf"} 1
playground_request_duration_seconds_sum{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false"} 11.07418264
playground_request_duration_seconds_count{backtrace="false",channel="Nightly",crate_type="Binary",edition="Rust2015",endpoint="Execute",mode="Release",outcome="ErrorTimeoutSoft",target="",tests="false"} 1

This was aftter running the code

fn main() {
    println!("Hello, world!");
    std::process::Command::new("sleep").arg("100").status();
}

@shepmaster shepmaster added maintenance Keeping the wheels turning CI: approved Allowed access to CI secrets labels May 1, 2021
@shepmaster shepmaster force-pushed the timeout-metrics branch 2 times, most recently from cb1a758 to 12a0ae5 Compare May 1, 2021 15:19
@shepmaster shepmaster added CI: approved Allowed access to CI secrets and removed CI: approved Allowed access to CI secrets labels May 6, 2021
@shepmaster shepmaster merged commit acdf3c7 into master May 6, 2021
@shepmaster shepmaster deleted the timeout-metrics branch May 6, 2021 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: approved Allowed access to CI secrets maintenance Keeping the wheels turning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant