Versions in this module Expand all Collapse all v0 v0.9.0 Dec 6, 2019 v0.1.0 Dec 28, 2019 Changes in this version + var AllContentType = []ContentType + var AllDetectPoint = []DetectPoint + var AllLanguage = []Language + var AllLogState = []LogState + var AllNodeType = []NodeType + var AllOrder = []Order + var AllQueryOrder = []QueryOrder + var AllRefType = []RefType + var AllScope = []Scope + var AllStep = []Step + var AllTraceState = []TraceState + var StepDuration = map[Step]time.Duration + var StepFormats = map[Step]string + type AlarmMessage struct + ID string + Message string + Scope *Scope + StartTime int64 + type AlarmTrend struct + NumOfAlarm []*int + type Alarms struct + Msgs []*AlarmMessage + Total int + type Attribute struct + Name string + Value string + type BasicTrace struct + Duration int + EndpointNames []string + IsError *bool + SegmentID string + Start string + TraceIds []string + type BatchMetricConditions struct + Ids []string + Name string + type Call struct + DetectPoints []DetectPoint + ID string + Source string + SourceComponents []string + Target string + TargetComponents []string + type ClusterBrief struct + NumOfCache int + NumOfDatabase int + NumOfEndpoint int + NumOfMq int + NumOfService int + type ContentType string + const ContentTypeJSON + const ContentTypeNone + const ContentTypeText + func (e *ContentType) UnmarshalGQL(v interface{}) error + func (e ContentType) IsValid() bool + func (e ContentType) MarshalGQL(w io.Writer) + func (e ContentType) String() string + type Database struct + ID string + Name string + Type string + type DetectPoint string + const DetectPointClient + const DetectPointProxy + const DetectPointServer + func (e *DetectPoint) UnmarshalGQL(v interface{}) error + func (e DetectPoint) IsValid() bool + func (e DetectPoint) MarshalGQL(w io.Writer) + func (e DetectPoint) String() string + type Duration struct + End string + Start string + Step Step + type Endpoint struct + ID string + Name string + type EndpointInfo struct + ID string + Name string + ServiceID string + ServiceName string + type IntValues struct + Values []*KVInt + type KVInt struct + ID string + Value int64 + type KeyValue struct + Key string + Value *string + type Language string + const LanguageDotnet + const LanguageJava + const LanguageNodejs + const LanguagePython + const LanguageRuby + const LanguageUnknown + func (e *Language) UnmarshalGQL(v interface{}) error + func (e Language) IsValid() bool + func (e Language) MarshalGQL(w io.Writer) + func (e Language) String() string + type Log struct + Content *string + ContentType ContentType + EndpointID *string + EndpointName *string + IsError *bool + ServiceID *string + ServiceInstanceID *string + ServiceInstanceName *string + ServiceName *string + StatusCode *string + Timestamp string + TraceID *string + type LogEntity struct + Data []*KeyValue + Time int64 + type LogQueryCondition struct + EndpointID *string + MetricName *string + Paging *Pagination + QueryDuration *Duration + ServiceID *string + ServiceInstanceID *string + State LogState + StateCode *string + TraceID *string + type LogState string + const LogStateAll + const LogStateError + const LogStateSuccess + func (e *LogState) UnmarshalGQL(v interface{}) error + func (e LogState) IsValid() bool + func (e LogState) MarshalGQL(w io.Writer) + func (e LogState) String() string + type Logs struct + Logs []*Log + Total int + type MetricCondition struct + ID *string + Name string + type Node struct + ID string + IsReal bool + Name string + Type *string + type NodeType string + const NodeTypeEndpoint + const NodeTypeService + const NodeTypeUser + func (e *NodeType) UnmarshalGQL(v interface{}) error + func (e NodeType) IsValid() bool + func (e NodeType) MarshalGQL(w io.Writer) + func (e NodeType) String() string + type Order string + const OrderAsc + const OrderDes + func (e *Order) UnmarshalGQL(v interface{}) error + func (e Order) IsValid() bool + func (e Order) MarshalGQL(w io.Writer) + func (e Order) String() string + type Pagination struct + NeedTotal *bool + PageNum *int + PageSize int + type QueryOrder string + const QueryOrderByDuration + const QueryOrderByStartTime + func (e *QueryOrder) UnmarshalGQL(v interface{}) error + func (e QueryOrder) IsValid() bool + func (e QueryOrder) MarshalGQL(w io.Writer) + func (e QueryOrder) String() string + type Ref struct + ParentSegmentID string + ParentSpanID int + TraceID string + Type RefType + type RefType string + const RefTypeCrossProcess + const RefTypeCrossThread + func (e *RefType) UnmarshalGQL(v interface{}) error + func (e RefType) IsValid() bool + func (e RefType) MarshalGQL(w io.Writer) + func (e RefType) String() string + type Scope string + const ScopeEndpoint + const ScopeEndpointRelation + const ScopeService + const ScopeServiceInstance + const ScopeServiceInstanceRelation + const ScopeServiceRelation + func (e *Scope) UnmarshalGQL(v interface{}) error + func (e Scope) IsValid() bool + func (e Scope) MarshalGQL(w io.Writer) + func (e Scope) String() string + type Service struct + ID string + Name string + type ServiceInstance struct + Attributes []*Attribute + ID string + InstanceUUID string + Language Language + Name string + type Span struct + Component *string + EndTime int64 + EndpointName *string + IsError *bool + Layer *string + Logs []*LogEntity + ParentSpanID int + Peer *string + Refs []*Ref + SegmentID string + ServiceCode string + SpanID int + StartTime int64 + Tags []*KeyValue + TraceID string + Type string + type Step string + const StepDay + const StepHour + const StepMinute + const StepMonth + const StepSecond + func (e *Step) UnmarshalGQL(v interface{}) error + func (e Step) IsValid() bool + func (e Step) MarshalGQL(w io.Writer) + func (e Step) String() string + type Thermodynamic struct + AxisYStep int + Nodes [][]*int + type TimeInfo struct + CurrentTimestamp *int64 + Timezone *string + type TopNEntity struct + ID string + Name string + Value int64 + type TopNRecord struct + Latency int64 + Statement *string + TraceID *string + type TopNRecordsCondition struct + Duration *Duration + MetricName string + Order Order + ServiceID string + TopN int + type Topology struct + Calls []*Call + Nodes []*Node + type Trace struct + Spans []*Span + type TraceBrief struct + Total int + Traces []*BasicTrace + type TraceQueryCondition struct + EndpointID *string + EndpointName *string + MaxTraceDuration *int + MinTraceDuration *int + Paging *Pagination + QueryDuration *Duration + QueryOrder QueryOrder + ServiceID *string + ServiceInstanceID *string + TraceID *string + TraceState TraceState + type TraceState string + const TraceStateAll + const TraceStateError + const TraceStateSuccess + func (e *TraceState) UnmarshalGQL(v interface{}) error + func (e TraceState) IsValid() bool + func (e TraceState) MarshalGQL(w io.Writer) + func (e TraceState) String() string