We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a03bf commit cd52588Copy full SHA for cd52588
crates/tap-agent/src/metrics.rs
@@ -48,6 +48,9 @@ async fn _run_server(port: u16) {
48
};
49
}
50
51
+/// Run the server on a given `port`.
52
+///
53
+/// This is recommended to run inside a Task
54
pub async fn run_server(port: u16) {
55
// Code here is to abort program if there is a panic in _run_server
56
// Otherwise, when spawning the task, the panic will be silently ignored
0 commit comments