Class SpanAttachedEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.skywalking.apm.network.language.agent.v3.SpanAttachedEvent
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,SpanAttachedEventOrBuilder
public final class SpanAttachedEvent
extends com.google.protobuf.GeneratedMessageV3
implements SpanAttachedEventOrBuilder
SpanAttachedEvent represents an attached event for a traced RPC. When an RPC is being traced by the in-process language agent, a span would be reported by the client-side agent. And the rover would be aware of this RPC due to the existing tracing header. Then, the rover agent collects extra information from the OS level to provide assistance information to diagnose network performance.Protobuf type
skywalking.v3.SpanAttachedEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSpanAttachedEvent represents an attached event for a traced RPC.static final classProtobuf typeskywalking.v3.SpanAttachedEvent.SpanReferencestatic interfacestatic enumProtobuf enumskywalking.v3.SpanAttachedEvent.SpanReferenceTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SpanAttachedEventstatic final com.google.protobuf.Descriptors.Descriptor[Optional] The nanosecond timestamp of the event's end time.[Optional] The nanosecond timestamp of the event's end time.getEvent()The official event name.com.google.protobuf.ByteStringThe official event name.com.google.protobuf.Parser<SpanAttachedEvent>intThe nanosecond timestamp of the event's start time.The nanosecond timestamp of the event's start time.getSummary(int index) The summary of statistics during this event.intThe summary of statistics during this event.The summary of statistics during this event.getSummaryOrBuilder(int index) The summary of statistics during this event.List<? extends KeyIntValuePairOrBuilder>The summary of statistics during this event.getTags(int index) The tags for this event includes some extra OS level information, such as 1.intThe tags for this event includes some extra OS level information, such as 1.The tags for this event includes some extra OS level information, such as 1.getTagsOrBuilder(int index) The tags for this event includes some extra OS level information, such as 1.List<? extends KeyStringValuePairOrBuilder>The tags for this event includes some extra OS level information, such as 1.Refer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-itemRefer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-itemfinal com.google.protobuf.UnknownFieldSetboolean[Optional] The nanosecond timestamp of the event's end time.inthashCode()booleanThe nanosecond timestamp of the event's start time.booleanRefer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-itemprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic SpanAttachedEvent.Builderstatic SpanAttachedEvent.BuildernewBuilder(SpanAttachedEvent prototype) protected SpanAttachedEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SpanAttachedEventparseDelimitedFrom(InputStream input) static SpanAttachedEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanAttachedEventparseFrom(byte[] data) static SpanAttachedEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanAttachedEventparseFrom(com.google.protobuf.ByteString data) static SpanAttachedEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanAttachedEventparseFrom(com.google.protobuf.CodedInputStream input) static SpanAttachedEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanAttachedEventparseFrom(InputStream input) static SpanAttachedEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanAttachedEventparseFrom(ByteBuffer data) static SpanAttachedEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SpanAttachedEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
STARTTIME_FIELD_NUMBER
public static final int STARTTIME_FIELD_NUMBER- See Also:
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER- See Also:
-
ENDTIME_FIELD_NUMBER
public static final int ENDTIME_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER- See Also:
-
TRACECONTEXT_FIELD_NUMBER
public static final int TRACECONTEXT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasStartTime
public boolean hasStartTime()The nanosecond timestamp of the event's start time. Notice, most unit of timestamp in SkyWalking is milliseconds, but NANO-SECOND is required here. Because the attached event happens in the OS syscall level, most of them are executed rapidly.
.skywalking.v3.Instant startTime = 1;- Specified by:
hasStartTimein interfaceSpanAttachedEventOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
The nanosecond timestamp of the event's start time. Notice, most unit of timestamp in SkyWalking is milliseconds, but NANO-SECOND is required here. Because the attached event happens in the OS syscall level, most of them are executed rapidly.
.skywalking.v3.Instant startTime = 1;- Specified by:
getStartTimein interfaceSpanAttachedEventOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
The nanosecond timestamp of the event's start time. Notice, most unit of timestamp in SkyWalking is milliseconds, but NANO-SECOND is required here. Because the attached event happens in the OS syscall level, most of them are executed rapidly.
.skywalking.v3.Instant startTime = 1;- Specified by:
getStartTimeOrBuilderin interfaceSpanAttachedEventOrBuilder
-
getEvent
The official event name. For example, the event name is a method signature from syscall stack.
string event = 2;- Specified by:
getEventin interfaceSpanAttachedEventOrBuilder- Returns:
- The event.
-
getEventBytes
public com.google.protobuf.ByteString getEventBytes()The official event name. For example, the event name is a method signature from syscall stack.
string event = 2;- Specified by:
getEventBytesin interfaceSpanAttachedEventOrBuilder- Returns:
- The bytes for event.
-
hasEndTime
public boolean hasEndTime()[Optional] The nanosecond timestamp of the event's end time.
.skywalking.v3.Instant endTime = 3;- Specified by:
hasEndTimein interfaceSpanAttachedEventOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
[Optional] The nanosecond timestamp of the event's end time.
.skywalking.v3.Instant endTime = 3;- Specified by:
getEndTimein interfaceSpanAttachedEventOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
[Optional] The nanosecond timestamp of the event's end time.
.skywalking.v3.Instant endTime = 3;- Specified by:
getEndTimeOrBuilderin interfaceSpanAttachedEventOrBuilder
-
getTagsList
The tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocol
repeated .skywalking.v3.KeyStringValuePair tags = 4;- Specified by:
getTagsListin interfaceSpanAttachedEventOrBuilder
-
getTagsOrBuilderList
The tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocol
repeated .skywalking.v3.KeyStringValuePair tags = 4;- Specified by:
getTagsOrBuilderListin interfaceSpanAttachedEventOrBuilder
-
getTagsCount
public int getTagsCount()The tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocol
repeated .skywalking.v3.KeyStringValuePair tags = 4;- Specified by:
getTagsCountin interfaceSpanAttachedEventOrBuilder
-
getTags
The tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocol
repeated .skywalking.v3.KeyStringValuePair tags = 4;- Specified by:
getTagsin interfaceSpanAttachedEventOrBuilder
-
getTagsOrBuilder
The tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocol
repeated .skywalking.v3.KeyStringValuePair tags = 4;- Specified by:
getTagsOrBuilderin interfaceSpanAttachedEventOrBuilder
-
getSummaryList
The summary of statistics during this event. Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
repeated .skywalking.v3.KeyIntValuePair summary = 5;- Specified by:
getSummaryListin interfaceSpanAttachedEventOrBuilder
-
getSummaryOrBuilderList
The summary of statistics during this event. Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
repeated .skywalking.v3.KeyIntValuePair summary = 5;- Specified by:
getSummaryOrBuilderListin interfaceSpanAttachedEventOrBuilder
-
getSummaryCount
public int getSummaryCount()The summary of statistics during this event. Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
repeated .skywalking.v3.KeyIntValuePair summary = 5;- Specified by:
getSummaryCountin interfaceSpanAttachedEventOrBuilder
-
getSummary
The summary of statistics during this event. Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
repeated .skywalking.v3.KeyIntValuePair summary = 5;- Specified by:
getSummaryin interfaceSpanAttachedEventOrBuilder
-
getSummaryOrBuilder
The summary of statistics during this event. Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
repeated .skywalking.v3.KeyIntValuePair summary = 5;- Specified by:
getSummaryOrBuilderin interfaceSpanAttachedEventOrBuilder
-
hasTraceContext
public boolean hasTraceContext()Refer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-item
.skywalking.v3.SpanAttachedEvent.SpanReference traceContext = 6;- Specified by:
hasTraceContextin interfaceSpanAttachedEventOrBuilder- Returns:
- Whether the traceContext field is set.
-
getTraceContext
Refer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-item
.skywalking.v3.SpanAttachedEvent.SpanReference traceContext = 6;- Specified by:
getTraceContextin interfaceSpanAttachedEventOrBuilder- Returns:
- The traceContext.
-
getTraceContextOrBuilder
Refer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-item
.skywalking.v3.SpanAttachedEvent.SpanReference traceContext = 6;- Specified by:
getTraceContextOrBuilderin interfaceSpanAttachedEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SpanAttachedEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SpanAttachedEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SpanAttachedEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SpanAttachedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SpanAttachedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SpanAttachedEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-