Class OtelMapConverter
java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.internal.OtelMapConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,Map<String, String>>
public class OtelMapConverter
extends Object
implements org.springframework.core.convert.converter.Converter<String,Map<String,String>>
The MapConverter class is used to convert a String to a Map. The String is expected to be in the
format of a comma separated list of key=value pairs, e.g. key1=value1,key2=value2.
This is the expected format for the OTEL_RESOURCE_ATTRIBUTES and
OTEL_EXPORTER_OTLP_HEADERS environment variables.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.