tracing

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 5 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.mainflux.io/tracing/.

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSpan

func CreateSpan(ctx context.Context, operation, clientID, topic, subTopic string, msgSize int, cfg server.Config, spanKind trace.SpanKind, tracer trace.Tracer) (context.Context, trace.Span)

Types

This section is empty.

Jump to

Keyboard shortcuts

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