opencensus

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package opencensus can be imported to use opencensus for tracing

As a side effect of importing the package the http.TraceID function gets replaced

import _ "github.com/mvndaai/ctxerr/http/trace/opencensus"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TraceID

func TraceID(ctx context.Context) string

TraceID uses opencensus to get the trace ID from the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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