Record Class StConfiguration.OpenTelemetry.Logs
java.lang.Object
java.lang.Record
com.io7m.stonesignal.server.StConfiguration.OpenTelemetry.Logs
- Record Components:
endpoint- The endpoint to which OTLP log data will be sent.protocol- The protocol used to deliver OpenTelemetry data.
- Enclosing class:
StConfiguration.OpenTelemetry
public static record StConfiguration.OpenTelemetry.Logs(URI endpoint, StConfiguration.OpenTelemetry.OTLPProtocol protocol)
extends Record
Logs configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionLogs(URI endpoint, StConfiguration.OpenTelemetry.OTLPProtocol 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
-
Logs
public Logs(@JsonPropertyDescription("The endpoint address for OTLP data.") URI endpoint, @JsonPropertyDescription("The protocol used to deliver OTLP data.") StConfiguration.OpenTelemetry.OTLPProtocol protocol) 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
@JsonPropertyDescription("The protocol used to deliver OTLP data.") public StConfiguration.OpenTelemetry.OTLPProtocol protocol()Returns the value of theprotocolrecord component.- Returns:
- the value of the
protocolrecord component
-