opentelemetry-java-instrume.../instrumentation/spring/spring-security-config-6.0/javaagent
Gregor Zeitlinger 798bdd5569
config properties support for spring starter clients (#11605)
2024-07-02 16:49:39 +03:00
..
src config properties support for spring starter clients (#11605) 2024-07-02 16:49:39 +03:00
README.md
build.gradle.kts

README.md

OpenTelemetry Javaagent Instrumentation: Spring Security Config

Javaagent automatic instrumentation to capture enduser.* semantic attributes from Spring Security Authentication objects.

Settings

This module honors the common otel.instrumentation.common.enduser.* properties and the following properties:

Property Type Default Description
otel.instrumentation.spring-security.enduser.role.granted-authority-prefix String ROLE_ Prefix of granted authorities identifying roles to capture in the enduser.role semantic attribute.
otel.instrumentation.spring-security.enduser.scope.granted-authority-prefix String SCOPE_ Prefix of granted authorities identifying scopes to capture in the enduser.scopes semantic attribute.