类 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
- 所有已实现的接口:
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- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classSpanAttachedEvent represents an attached event for a traced RPC.static final classProtobuf typeskywalking.v3.SpanAttachedEvent.SpanReferencestatic interfacestatic enumProtobuf enumskywalking.v3.SpanAttachedEvent.SpanReferenceType从类继承的嵌套类/接口 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 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanstatic 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. net_device used for this exit span. 2. network L7 protocolintThe tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocolThe tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocolgetTagsOrBuilder(int index) The tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocolList<? extends KeyStringValuePairOrBuilder>The tags for this event includes some extra OS level information, such as 1. net_device used for this exit span. 2. network L7 protocolRefer 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) 从类继承的方法 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, writeStringNoTag从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
STARTTIME_FIELD_NUMBER
public static final int STARTTIME_FIELD_NUMBER- 另请参阅:
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER- 另请参阅:
-
ENDTIME_FIELD_NUMBER
public static final int ENDTIME_FIELD_NUMBER- 另请参阅:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- 另请参阅:
-
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER- 另请参阅:
-
TRACECONTEXT_FIELD_NUMBER
public static final int TRACECONTEXT_FIELD_NUMBER- 另请参阅:
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.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;- 指定者:
hasStartTime在接口中SpanAttachedEventOrBuilder- 返回:
- 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;- 指定者:
getStartTime在接口中SpanAttachedEventOrBuilder- 返回:
- 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; -
getEvent
The official event name. For example, the event name is a method signature from syscall stack.
string event = 2;- 指定者:
getEvent在接口中SpanAttachedEventOrBuilder- 返回:
- 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;- 指定者:
getEventBytes在接口中SpanAttachedEventOrBuilder- 返回:
- The bytes for event.
-
hasEndTime
public boolean hasEndTime()[Optional] The nanosecond timestamp of the event's end time.
.skywalking.v3.Instant endTime = 3;- 指定者:
hasEndTime在接口中SpanAttachedEventOrBuilder- 返回:
- Whether the endTime field is set.
-
getEndTime
[Optional] The nanosecond timestamp of the event's end time.
.skywalking.v3.Instant endTime = 3;- 指定者:
getEndTime在接口中SpanAttachedEventOrBuilder- 返回:
- The endTime.
-
getEndTimeOrBuilder
[Optional] The nanosecond timestamp of the event's end time.
.skywalking.v3.Instant endTime = 3; -
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;- 指定者:
getTagsList在接口中SpanAttachedEventOrBuilder
-
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; -
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;- 指定者:
getTagsCount在接口中SpanAttachedEventOrBuilder
-
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;- 指定者:
getTags在接口中SpanAttachedEventOrBuilder
-
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;- 指定者:
getTagsOrBuilder在接口中SpanAttachedEventOrBuilder
-
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;- 指定者:
getSummaryList在接口中SpanAttachedEventOrBuilder
-
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; -
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;- 指定者:
getSummaryCount在接口中SpanAttachedEventOrBuilder
-
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;- 指定者:
getSummary在接口中SpanAttachedEventOrBuilder
-
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; -
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;- 指定者:
hasTraceContext在接口中SpanAttachedEventOrBuilder- 返回:
- 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;- 指定者:
getTraceContext在接口中SpanAttachedEventOrBuilder- 返回:
- 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; -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static SpanAttachedEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SpanAttachedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static SpanAttachedEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
IOException
-
parseDelimitedFrom
public static SpanAttachedEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static SpanAttachedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static SpanAttachedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected SpanAttachedEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-