span

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 5 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"
	IngestorClean       = "kubehound.ingestor.clean"

	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 (
	BuildEdge = "kubehound.graph.builder.edge"
)

Graph builder spans

Variables

This section is empty.

Functions

func SpanRunFromContext added in v1.6.0

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

func StartSpanFromContext added in v1.6.0

func StartSpanFromContext(runCtx context.Context, operationName string, opts ...tracer.StartSpanOption) (tracer.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