producer

package
v0.0.0-...-dc7611c Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FinishProducerSpan

func FinishProducerSpan(span trace.Span, err error) error

func StartProducerSpan

func StartProducerSpan(
	ctx context.Context,
	message types.IMessage,
	meta *metadata.Metadata,
	payload string,
	producerTracingOptions *ProducerTracingOptions,
) (context.Context, trace.Span)

Types

type ProducerTracingOptions

type ProducerTracingOptions struct {
	MessagingSystem string
	DestinationKind string
	Destination     string
	OtherAttributes []attribute.KeyValue
}

Jump to

Keyboard shortcuts

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