Open
Description
This feature would introduce a new configuration property that allows users to measure the number of invocations of their methods without having to modify source code. This will be similar to otel.instrumentation.methods.include
, but just a light weight metric and not a full-fledged span.
Propose config item: otel.instrumentation.method.counters
. The format of the value should be identical to the format of otel.instrumentation.methods.include
(eg. my.package.MyClass1[method1,method2];my.package.MyClass2[method3]
).
Propose metric name: my.pakage.ClassName.method.invocations
type = counter (monotonically increasing).