Package com.io7m.idstore.server.api
Record Class IdServerOpenTelemetryConfiguration
java.lang.Object
java.lang.Record
com.io7m.idstore.server.api.IdServerOpenTelemetryConfiguration
- Record Components:
- logicalServiceName- The logical service name
- logs- The configuration for OTLP logs
- metrics- The configuration for OTLP metrics
- traces- The configuration for OTLP traces
public record IdServerOpenTelemetryConfiguration(String logicalServiceName, Optional<IdServerOpenTelemetryConfiguration.IdLogs> logs, Optional<IdServerOpenTelemetryConfiguration.IdMetrics> metrics, Optional<IdServerOpenTelemetryConfiguration.IdTraces> traces)
extends Record
Configuration information for OpenTelemetry.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final recordLog configuration.static final recordMetrics configuration.static enumThe protocol used to deliver OpenTelemetry data.static final recordTrace configuration.
- 
Constructor SummaryConstructorsConstructorDescriptionIdServerOpenTelemetryConfiguration(String logicalServiceName, Optional<IdServerOpenTelemetryConfiguration.IdLogs> logs, Optional<IdServerOpenTelemetryConfiguration.IdMetrics> metrics, Optional<IdServerOpenTelemetryConfiguration.IdTraces> traces) Configuration information for OpenTelemetry.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelogicalServiceNamerecord component.logs()Returns the value of thelogsrecord component.metrics()Returns the value of themetricsrecord component.final StringtoString()Returns a string representation of this record class.traces()Returns the value of thetracesrecord component.
- 
Constructor Details- 
IdServerOpenTelemetryConfigurationpublic IdServerOpenTelemetryConfiguration(String logicalServiceName, Optional<IdServerOpenTelemetryConfiguration.IdLogs> logs, Optional<IdServerOpenTelemetryConfiguration.IdMetrics> metrics, Optional<IdServerOpenTelemetryConfiguration.IdTraces> traces) Configuration information for OpenTelemetry.- Parameters:
- logicalServiceName- The logical service name
- logs- The configuration for OTLP logs
- metrics- The configuration for OTLP metrics
- traces- The configuration for OTLP traces
 
 
- 
- 
Method Details- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
logicalServiceNameReturns the value of thelogicalServiceNamerecord component.- Returns:
- the value of the logicalServiceNamerecord component
 
- 
logsReturns the value of thelogsrecord component.- Returns:
- the value of the logsrecord component
 
- 
metricsReturns the value of themetricsrecord component.- Returns:
- the value of the metricsrecord component
 
- 
tracesReturns the value of thetracesrecord component.- Returns:
- the value of the tracesrecord component
 
 
-