MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / status_code

Function status_code

src/instruments/otel/rows.rs:190–196  ·  view source on GitHub ↗
(code: i32)

Source from the content-addressed store, hash-verified

188}
189
190fn status_code(code: i32) -> &'static str {
191 match StatusCode::try_from(code).unwrap_or(StatusCode::Unset) {
192 StatusCode::Unset => "Unset",
193 StatusCode::Ok => "Ok",
194 StatusCode::Error => "Error",
195 }
196}
197
198/// Strings as is, and other scalars as text. Bytes are base64-encoded, and arrays and maps are
199/// JSON.

Callers 1

span_rowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected