Documentation ¶
Overview ¶
Package graphmodel provides methods that encode opentelemetry pipeline data into a property graph through cypher queries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
Encoder defines the configuration required to encode traces in a hierarchical property graph
func NewEncoder ¶
func NewEncoder(labelFromAttr map[attribute.Key]ResourceEncoder, containmentOrder map[string][]string, logger *zap.Logger) *Encoder
NewEncoder creates a graph encoder with the provided parameters
func (*Encoder) MergeResource ¶
type ResourceEncoder ¶
ResourceEncoder is a struct that identifies a type of resource and all the attributes found in telemetry data that will be used to create a vertex in graph encoding procedure.
Click to show internal directories.
Click to hide internal directories.