tracing

package
v0.0.0-...-4ee07f5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package tracing provides tracing instrumentation for Magistrala things policies service.

This package provides tracing middleware for Magistrala things policies service. It can be used to trace incoming requests and add tracing capabilities to Magistrala things policies service.

For more details about tracing instrumentation for Magistrala messaging refer to the documentation at https://docs.magistrala.abstractmachines.fr/tracing/.

Copyright (c) Abstract Machines SPDX-License-Identifier: Apache-2.0

Copyright (c) Abstract Machines SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPubSub

func NewPubSub(config server.Config, tracer trace.Tracer, pubsub messaging.PubSub) messaging.PubSub

NewPubSub creates a new pubsub middleware that traces pubsub operations.

func NewPublisher

func NewPublisher(config server.Config, tracer trace.Tracer, publisher messaging.Publisher) messaging.Publisher

Types

This section is empty.

Jump to

Keyboard shortcuts

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