public interface LogDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
LogDataBody |
getBody()
[Required] The content of the log.
|
LogDataBodyOrBuilder |
getBodyOrBuilder()
[Required] The content of the log.
|
String |
getEndpoint()
[Optional] **Endpoint**.
|
com.google.protobuf.ByteString |
getEndpointBytes()
[Optional] **Endpoint**.
|
String |
getLayer()
[Optional] Since 9.0.0
The layer of the service and servce instance.
|
com.google.protobuf.ByteString |
getLayerBytes()
[Optional] Since 9.0.0
The layer of the service and servce instance.
|
String |
getService()
[Required] **Service**.
|
com.google.protobuf.ByteString |
getServiceBytes()
[Required] **Service**.
|
String |
getServiceInstance()
[Optional] **Service Instance**.
|
com.google.protobuf.ByteString |
getServiceInstanceBytes()
[Optional] **Service Instance**.
|
LogTags |
getTags()
[Optional] The available tags.
|
LogTagsOrBuilder |
getTagsOrBuilder()
[Optional] The available tags.
|
long |
getTimestamp()
[Optional] The timestamp of the log, in millisecond.
|
TraceContext |
getTraceContext()
[Optional] Logs with trace context
|
TraceContextOrBuilder |
getTraceContextOrBuilder()
[Optional] Logs with trace context
|
boolean |
hasBody()
[Required] The content of the log.
|
boolean |
hasTags()
[Optional] The available tags.
|
boolean |
hasTraceContext()
[Optional] Logs with trace context
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong getTimestamp()
[Optional] The timestamp of the log, in millisecond. If not set, OAP server would use the received timestamp as log's timestamp, or relies on the OAP server analyzer.
int64 timestamp = 1;String getService()
[Required] **Service**. Represents a set/group of workloads which provide the same behaviours for incoming requests. The logic name represents the service. This would show as a separate node in the topology. The metrics analyzed from the spans, would be aggregated for this entity as the service level. If this is not the first element of the streaming, use the previous not-null name as the service name.
string service = 2;com.google.protobuf.ByteString getServiceBytes()
[Required] **Service**. Represents a set/group of workloads which provide the same behaviours for incoming requests. The logic name represents the service. This would show as a separate node in the topology. The metrics analyzed from the spans, would be aggregated for this entity as the service level. If this is not the first element of the streaming, use the previous not-null name as the service name.
string service = 2;String getServiceInstance()
[Optional] **Service Instance**. Each individual workload in the Service group is known as an instance. Like `pods` in Kubernetes, it doesn't need to be a single OS process, however, if you are using instrument agents, an instance is actually a real OS process. The logic name represents the service instance. This would show as a separate node in the instance relationship. The metrics analyzed from the spans, would be aggregated for this entity as the service instance level.
string serviceInstance = 3;com.google.protobuf.ByteString getServiceInstanceBytes()
[Optional] **Service Instance**. Each individual workload in the Service group is known as an instance. Like `pods` in Kubernetes, it doesn't need to be a single OS process, however, if you are using instrument agents, an instance is actually a real OS process. The logic name represents the service instance. This would show as a separate node in the instance relationship. The metrics analyzed from the spans, would be aggregated for this entity as the service instance level.
string serviceInstance = 3;String getEndpoint()
[Optional] **Endpoint**. A path in a service for incoming requests, such as an HTTP URI path or a gRPC service class + method signature. The logic name represents the endpoint, which logs belong.
string endpoint = 4;com.google.protobuf.ByteString getEndpointBytes()
[Optional] **Endpoint**. A path in a service for incoming requests, such as an HTTP URI path or a gRPC service class + method signature. The logic name represents the endpoint, which logs belong.
string endpoint = 4;boolean hasBody()
[Required] The content of the log.
.skywalking.v3.LogDataBody body = 5;LogDataBody getBody()
[Required] The content of the log.
.skywalking.v3.LogDataBody body = 5;LogDataBodyOrBuilder getBodyOrBuilder()
[Required] The content of the log.
.skywalking.v3.LogDataBody body = 5;boolean hasTraceContext()
[Optional] Logs with trace context
.skywalking.v3.TraceContext traceContext = 6;TraceContext getTraceContext()
[Optional] Logs with trace context
.skywalking.v3.TraceContext traceContext = 6;TraceContextOrBuilder getTraceContextOrBuilder()
[Optional] Logs with trace context
.skywalking.v3.TraceContext traceContext = 6;boolean hasTags()
[Optional] The available tags. OAP server could provide search/analysis capabilities based on these.
.skywalking.v3.LogTags tags = 7;LogTags getTags()
[Optional] The available tags. OAP server could provide search/analysis capabilities based on these.
.skywalking.v3.LogTags tags = 7;LogTagsOrBuilder getTagsOrBuilder()
[Optional] The available tags. OAP server could provide search/analysis capabilities based on these.
.skywalking.v3.LogTags tags = 7;String getLayer()
[Optional] Since 9.0.0 The layer of the service and servce instance. If absent, the OAP would set `layer`=`ID: 2, NAME: general`
string layer = 8;com.google.protobuf.ByteString getLayerBytes()
[Optional] Since 9.0.0 The layer of the service and servce instance. If absent, the OAP would set `layer`=`ID: 2, NAME: general`
string layer = 8;Copyright © 2022 The Apache Software Foundation. All rights reserved.