span

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IngestData = "kubehound.ingestData"
	BuildGraph = "kubehound.buildGraph"
	Launch     = "kubehound.launch"
)

Top level spans

View Source
const (
	JanusGraphFlush      = "kubehound.janusgraph.flush"
	JanusGraphBatchWrite = "kubehound.janusgraph.batchwrite"
)

JanusGraph provider spans

View Source
const (
	MongoDBFlush      = "kubehound.mongo.flush"
	MongoDBBatchWrite = "kubehound.mongo.batchwrite"
)

MongoDB provider spans

View Source
const (
	CollectorStream = "kubehound.collector.stream"
	CollectorDump   = "kubehound.collector.dump"

	IngestorLaunch      = "kubehound.ingestor.launch"
	IngestorStartJob    = "kubehound.ingestor.startjob"
	IngestorBlobPull    = "kubehound.ingestor.blob.pull"
	IngestorBlobPut     = "kubehound.ingestor.blob.put"
	IngestorBlobExtract = "kubehound.ingestor.blob.extract"
	IngestorBlobClose   = "kubehound.ingestor.blob.close"

	DumperLaunch = "kubehound.dumper.launch"

	DumperNodes               = "kubehound.dumper.nodes"
	DumperPods                = "kubehound.dumper.pods"
	DumperEndpoints           = "kubehound.dumper.endpoints"
	DumperRoles               = "kubehound.dumper.roles"
	DumperClusterRoles        = "kubehound.dumper.clusterroles"
	DumperRoleBindings        = "kubehound.dumper.rolebindings"
	DumperClusterRoleBindings = "kubehound.dumper.clusterrolebindings"
	DumperMetadata            = "kubehound.dumper.metadata"

	DumperReadFile    = "kubehound.dumper.readFile"
	DumperS3Push      = "kubehound.dumper.s3_push"
	DumperS3Download  = "kubehound.dumper.s3_download"
	DumperWriterWrite = "kubehound.dumper.write"
	DumperWriterFlush = "kubehound.dumper.flush"
	DumperWriterClose = "kubehound.dumper.close"
)

Collector/dumper component spans

View Source
const (
	ContextLogFieldClusterName contextKey = iota
	ContextLogFieldRunID
)
View Source
const (
	BuildEdge = "kubehound.graph.builder.edge"
)

Graph builder spans

Variables

This section is empty.

Functions

func SpanIngestRunFromContext added in v1.3.1

func SpanIngestRunFromContext(runCtx context.Context, spanName string) (ddtrace.Span, context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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