telemetry

package
v1.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package telemtry contains telemetry provider implementations as well as common code that can be shared by each telemetry vendor. Istio vendor is the canonical impl.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarkOutsideOrInaccessible

func MarkOutsideOrInaccessible(trafficMap graph.TrafficMap, o graph.TelemetryOptions)

MarkOutsideOrInaccessible sets metadata for outsider and inaccessible nodes. It should be called after all appender work is completed.

func MarkTrafficGenerators

func MarkTrafficGenerators(trafficMap graph.TrafficMap)

MarkTrafficGenerators set IsRoot metadata. It is called after appender work is complete.

func MergeTrafficMaps

func MergeTrafficMaps(trafficMap graph.TrafficMap, ns string, nsTrafficMap graph.TrafficMap)

MergeTrafficMaps typically combines two namespace traffic maps. It ensures that we only have unique nodes by removing duplicate nodes and merging their edges. When removing a duplicate prefer an instance from the namespace being merged-in because it is guaranteed to have all appender information applied (i.e. not an outsider). We also need to avoid duplicate edges, it can happen when a terminal node of one namespace is a root node of another:

ns1 graph: unknown -> ns1:A -> ns2:B
ns2 graph:   ns1:A -> ns2:B -> ns2:C

func ReduceToServiceGraph

func ReduceToServiceGraph(trafficMap graph.TrafficMap) graph.TrafficMap

ReduceToServiceGraph compresses a [service-injected workload] graph by removing the workload nodes such that, with exception of non-service root nodes, the resulting graph has edges only from and to service nodes. It is typically the last thing called prior to retruning the service graph.

Types

This section is empty.

Directories

Path Synopsis
Package istio provides the Istio implementation of graph/TelemetryProvider.
Package istio provides the Istio implementation of graph/TelemetryProvider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL