otelutil

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CupdateCacheStatusHit      string = "hit"
	CupdateCacheStatusMiss     string = "miss"
	CupdateCacheStatusError    string = "error"
	CupdateCacheStatusUncached string = "uncached"
)
View Source
const (
	CupdateWorkflowRunSpanName = "cupdate.workflow.run"
	CupdateWorkflowNameKey     = attribute.Key("cupdate.workflow.name")
)
View Source
const (
	CupdateWorkflowJobRunSpanName = "cupdate.workflow.job.run"
	CupdateWorkflowJobNameKey     = attribute.Key("cupdate.workflow.job.name")
)
View Source
const (
	CupdateWorkflowStepRunSpanName     = "cupdate.workflow.step.run"
	CupdateWorkflowStepPostRunSpanName = "cupdate.workflow.step.post-run"
	CupdateWorkflowStepNameKey         = attribute.Key("cupdate.workflow.step.name")
)
View Source
const CupdateCacheStatusKey = attribute.Key("cupdate.cache.status")
View Source
const (
	DefaultScope string = "github.com/AlexGustafsson/cupdate"
)

Variables

This section is empty.

Functions

func CupdateCacheStatus

func CupdateCacheStatus(status string) attribute.KeyValue

func CupdateWorkflowJobName

func CupdateWorkflowJobName(name string) attribute.KeyValue

func CupdateWorkflowName

func CupdateWorkflowName(name string) attribute.KeyValue

func CupdateWorkflowStepName

func CupdateWorkflowStepName(name string) attribute.KeyValue

func Init

func Init(ctx context.Context, target string, insecure bool) (func(context.Context) error, error)

Init initializes Open Telemetry. Returns a shutdown function to call before exiting.

Types

This section is empty.

Jump to

Keyboard shortcuts

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