Implementations should add a caller label to the function calls counter metric. If you have a function_a that calls function_b and both are instrumented with autometrics, the metrics produced by function_b should have a label {caller="function_a"}.
This makes it easy to look at a specific function's metrics and then very quickly look at the metrics for all of the functions called by that function.
Implementations should add a
caller
label to the function calls counter metric. If you have afunction_a
that callsfunction_b
and both are instrumented with autometrics, the metrics produced byfunction_b
should have a label{caller="function_a"}
.This makes it easy to look at a specific function's metrics and then very quickly look at the metrics for all of the functions called by that function.