tracing

package
v0.0.0-...-81dd437 Latest Latest
Warning

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

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

Documentation

Overview

Package tracing contains middlewares that will add spans to existing traces.

Package tracing contains middlewares that will add spans to existing traces.

Package tracing contains middlewares that will add spans to existing traces.

Index

Constants

View Source
const (
	RetrieveGroupPolicies = "retrieve_group_policies"
)

Variables

This section is empty.

Functions

func New

New tracks request and their latency, and adds spans to context.

func OrgRepositoryMiddleware

func OrgRepositoryMiddleware(tracer opentracing.Tracer, gr auth.OrgRepository) auth.OrgRepository

OrgRepositoryMiddleware tracks request and their latency, and adds spans to context.

func PoliciesRepositoryMiddleware

func PoliciesRepositoryMiddleware(tracer opentracing.Tracer, pr auth.PoliciesRepository) auth.PoliciesRepository

PoliciesRepositoryMiddleware tracks request and their latency, and adds spans to context.

func RolesRepositoryMiddleware

func RolesRepositoryMiddleware(tracer opentracing.Tracer, rr auth.RolesRepository) auth.RolesRepository

OrgRepositoryMiddleware tracks request and their latency, and adds spans to context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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