/* eslint-disable */ // @ts-nocheck /* * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY */ import * as GoogleProtobufTimestamp from "../../google/protobuf/timestamp.pb" export enum ValueType { STRING = "STRING", BOOL = "BOOL", INT64 = "INT64", FLOAT64 = "FLOAT64", BINARY = "BINARY", } export enum SpanRefType { CHILD_OF = "CHILD_OF", FOLLOWS_FROM = "FOLLOWS_FROM", } export enum TraceStatus { UNHEALTHY = "UNHEALTHY", HEALTHY = "HEALTHY", } export type KeyValue = { key?: string vType?: ValueType vStr?: string vBool?: boolean vInt64?: string vFloat64?: number vBinary?: Uint8Array } export type Log = { time?: string fields?: KeyValue[] timestamp?: GoogleProtobufTimestamp.Timestamp } export type SpanRef = { traceId?: string spanId?: string refType?: SpanRefType } export type Process = { serviceName?: string tags?: KeyValue[] } export type SpanSummary = { traceId?: string spanId?: string operationName?: string serviceName?: string status?: TraceStatus protocol?: string method?: string statusCode?: string duration?: string startTime?: GoogleProtobufTimestamp.Timestamp } export type Span = { traceId?: string spanId?: string operationName?: string references?: SpanRef[] flags?: number startTime?: GoogleProtobufTimestamp.Timestamp duration?: string tags?: KeyValue[] logs?: Log[] process?: Process processId?: string warnings?: string[] } export type TraceProcessMapping = { processId?: string process?: Process } export type Trace = { operationName?: string processMap?: TraceProcessMapping[] warnings?: string[] traceId?: string status?: TraceStatus spanCount?: number startTime?: string duration?: string protocol?: string method?: string statusCode?: string } export type Batch = { spans?: Span[] process?: Process } export type DependencyLink = { parent?: string child?: string callCount?: string source?: string }