Skip to content

Property based method invocation counter #8687

Open
@breedx-splk

Description

@breedx-splk

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcomeenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions