opentelemetry-java-instrume.../instrumentation/spring/spring-security-config-6.0/javaagent
Trask Stalnaker 8d02fd5639
Fix test-latest-deps (#12909)
2024-12-18 08:18:59 +02:00
..
src Fix test-latest-deps (#12909) 2024-12-18 08:18:59 +02:00
README.md
build.gradle.kts Fix latest dep tests (#12739) 2024-11-16 11:48:56 -08:00

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.