Skip to content

Support of 'otel.instrumentation.methods.include' in declarative configuration #164

@dvisigalli

Description

@dvisigalli

I'm trying Opentelemetry Java Agent new declarative configuration, which is great because supports env substitution.
I wonder if there is a way to configure an equivalent of the property 'otel.instrumentation.methods.include'.

I tryed something like this:

instrumentation:
__java:
____methods:
______enabled: true
______include: package.Class[method1,method2]

but it seems is not having any effect

How can i know which specific java instrumentation options are configurable/supported in the new declarative way, and which are not?

Also, can you confirm that it is in no way possible to override the declarative configuration using java properties or environment variables?
And if is not possibile, why this choice?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions