Skip to content

Need docs for "otel.experimental.javascript-snippet" #14172

Open
@breedx-splk

Description

@breedx-splk

The servlet common instrumentation contains a class called ExperimentalSnippetHolder that references a config item of otel.experimental.javascript-snippet. This config and a couple of historical commits (#8734 and #8736) seem to indicate that this can be used to inject some text/html into the response coming out of servlets...but we have no documentation for it (or I cannot find it). I also couldn't find any tests that set this property, so it appears to perhaps be untested? Furthermore, I thought we generally avoided putting hyphens in configuration properties nowadays, because it breaks when using env vars (can't have hyphens).

So I think it would be good for us to write up something that describes what this property is and how it might be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions