Record Class CAServerOpenTelemetryConfiguration.CALogs
java.lang.Object
java.lang.Record
com.io7m.cardant.server.api.CAServerOpenTelemetryConfiguration.CALogs
- Record Components:
endpoint- The endpoint to which OTLP log data will be sent.protocol- The protocol used to deliver OpenTelemetry data.
- Enclosing class:
CAServerOpenTelemetryConfiguration
public static record CAServerOpenTelemetryConfiguration.CALogs(URI endpoint, CAServerOpenTelemetryConfiguration.CAOTLPProtocol protocol)
extends Record
Logs configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCALogs(URI endpoint, CAServerOpenTelemetryConfiguration.CAOTLPProtocol protocol) Logs configuration. -
Method Summary
Modifier and TypeMethodDescriptionendpoint()Returns the value of theendpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.protocol()Returns the value of theprotocolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CALogs
Logs configuration.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates 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). -
endpoint
-
protocol
-