mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
feat: visualize attached events on the trace widget (#190)
This commit is contained in:
17
src/types/trace.d.ts
vendored
17
src/types/trace.d.ts
vendored
@@ -14,7 +14,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export interface Trace {
|
||||
duration: number;
|
||||
isError: boolean;
|
||||
@@ -85,3 +84,19 @@ export class TraceTreeRef {
|
||||
segmentMap: Map<string, Span>;
|
||||
segmentIdGroup: string[];
|
||||
}
|
||||
|
||||
type Instant = {
|
||||
seconds: number;
|
||||
nanos: number;
|
||||
};
|
||||
type KeyValue = {
|
||||
key: string;
|
||||
value: string | number;
|
||||
};
|
||||
export interface SpanAttachedEvent {
|
||||
startTime: Instant;
|
||||
endTime: Instant;
|
||||
event: string;
|
||||
tags: KeyValue[];
|
||||
summary: KeyValue[];
|
||||
}
|
||||
|
Reference in New Issue
Block a user