bilibili-backup/app/service/main/dapper-query/model/spanpoint.go
2019-04-22 02:59:20 +00:00

25 lines
453 B
Go

package model
// const for SpanPoint
const ()
// SamplePoint SamplePoint
type SamplePoint struct {
TraceID uint64
SpanID uint64
Value int64
}
// SpanPoint contains time series
type SpanPoint struct {
Timestamp int64
ServiceName string
OperationName string
PeerService string
SpanKind string
AvgDuration SamplePoint // random sample point
MaxDuration SamplePoint
MinDuration SamplePoint
Errors []SamplePoint
}