Open gagbo opened 1 year ago
I didn't test this, so I am pretty sure that currently am list will not detect the autometrics macro if it uses any kind of conditional compilation flag:
am list
#[cfg_attr(feature = "extra-metrics", autometrics::autometrics(objective = super::API_SLO))] fn api_route_handler(args: Args) -> ApiResult<()> { Ok(()) }
We should add a test for this case on Rust queries, and make sure that it's properly detected as well when listing "instrumented functions"
Rust
I didn't test this, so I am pretty sure that currently
am list
will not detect the autometrics macro if it uses any kind of conditional compilation flag:We should add a test for this case on
Rust
queries, and make sure that it's properly detected as well when listing "instrumented functions"