Class SpringConfigProperties
java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.internal.properties.SpringConfigProperties
- All Implemented Interfaces:
io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
public class SpringConfigProperties
extends Object
implements io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Constructor Summary
ConstructorsConstructorDescriptionSpringConfigProperties(org.springframework.core.env.Environment environment, org.springframework.expression.ExpressionParser parser, OtlpExporterProperties otlpExporterProperties, OtelResourceProperties resourceProperties, OtelSpringProperties otelSpringProperties, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties otelSdkProperties) -
Method Summary
Modifier and TypeMethodDescriptionstatic io.opentelemetry.sdk.autoconfigure.spi.ConfigPropertiescreate(org.springframework.core.env.Environment env, OtlpExporterProperties otlpExporterProperties, OtelResourceProperties resourceProperties, OtelSpringProperties otelSpringProperties, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties fallback) getBoolean(String name) getDuration(String name) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
getBoolean, getDouble, getDuration, getInt, getList, getLong, getMap, getString
-
Constructor Details
-
SpringConfigProperties
public SpringConfigProperties(org.springframework.core.env.Environment environment, org.springframework.expression.ExpressionParser parser, OtlpExporterProperties otlpExporterProperties, OtelResourceProperties resourceProperties, OtelSpringProperties otelSpringProperties, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties otelSdkProperties)
-
-
Method Details
-
create
public static io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties create(org.springframework.core.env.Environment env, OtlpExporterProperties otlpExporterProperties, OtelResourceProperties resourceProperties, OtelSpringProperties otelSpringProperties, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties fallback) -
getString
- Specified by:
getStringin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getBoolean
- Specified by:
getBooleanin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getInt
- Specified by:
getIntin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getLong
- Specified by:
getLongin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getDouble
- Specified by:
getDoublein interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getList
- Specified by:
getListin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getDuration
- Specified by:
getDurationin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getMap
- Specified by:
getMapin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-