go-autorest: github.com/Azure/go-autorest/tracing/opencensus Index | Files

package opencensus

import "github.com/Azure/go-autorest/tracing/opencensus"

Index

Package Files

opencensus.go

func Disable Uses

func Disable()

Disable will disable instrumentation for metrics and traces.

func Enable Uses

func Enable() error

Enable will start instrumentation for metrics and traces.

func EnableWithAIForwarding Uses

func EnableWithAIForwarding(agentEndpoint string) error

EnableWithAIForwarding will start instrumentation and will connect to app insights forwarder exporter making the metrics and traces available in app insights.

Package opencensus imports 10 packages (graph). Updated 2019-08-15. Refresh now. Tools for package owners.