autometrics-dev / autometrics-shared

Resources used by all of the autometrics implementations
https://autometrics.dev
Apache License 2.0
11 stars 0 forks source link

`caller` label #14

Closed emschwartz closed 1 year ago

emschwartz commented 1 year ago

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.

flenter commented 1 year ago

@emschwartz can you update the list above: Python has support for the caller label.