ctxprop

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PropagationActions = struct {
	Propagate     PropagationAction
	DontPropagate PropagationAction
}{
	Propagate:     PropagationAction("PROPAGATE"),
	DontPropagate: PropagationAction("DONT_PROPAGATE"),
}

Functions

This section is empty.

Types

type PropagationAction

type PropagationAction string

type PropagationRule

type PropagationRule struct {
	Name     string             `json:"ruleName"`
	Action   PropagationAction  `json:"ruleAction"`
	Matchers match.SpanMatchers `json:"matchers" min:"1" max:"100"`
}

PropagationRule has no documentation

func (*PropagationRule) MarshalHCL

func (me *PropagationRule) MarshalHCL(properties hcl.Properties) error

func (*PropagationRule) Schema

func (me *PropagationRule) Schema() map[string]*schema.Schema

func (*PropagationRule) UnmarshalHCL

func (me *PropagationRule) UnmarshalHCL(decoder hcl.Decoder) error

type PropagationSetting

type PropagationSetting struct {
	PropagationRule *PropagationRule `json:"contextPropagationRule"`
}

PropagationSetting Context propagation enables you to connect PurePaths through OpenTelemetry/OpenTracing. Define rules to enable context propagation for certain spans within OneAgent

func (*PropagationSetting) MarshalHCL

func (me *PropagationSetting) MarshalHCL(properties hcl.Properties) error

func (*PropagationSetting) Name

func (me *PropagationSetting) Name() string

func (*PropagationSetting) Schema

func (me *PropagationSetting) Schema() map[string]*schema.Schema

func (*PropagationSetting) UnmarshalHCL

func (me *PropagationSetting) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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