Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTooManyItems = errors.New("too many items")
)
Functions ¶
This section is empty.
Types ¶
type Edge ¶
type Edge struct { TraceID string ServerService, ClientService string ServerLatencySec, ClientLatencySec float64 // If either the client or the server spans have status code error, // the Edge will be considered as failed. Failed bool // Additional dimension to add to the metrics Dimensions map[string]string // contains filtered or unexported fields }
Edge is an Edge between two nodes in the graph
func (*Edge) IsCompleted ¶
IsCompleted returns true if the corresponding client and server pair spans have been processed for the given Edge
type Store ¶
type Store interface { // UpsertEdge inserts or updates an edge. UpsertEdge(key string, cb Callback) (*Edge, error) // EvictEdge removes an edge from the store. EvictEdge(key string) // Expire evicts all expired edges from the store. Expire() }
Store is an interface for building service graphs.
Click to show internal directories.
Click to hide internal directories.