You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
453 B
24 lines
453 B
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 |
|
}
|
|
|