tracing

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 11

Documentation

Overview

TODO Move this to knative/pkg's tracing package.

Index

Constants

View Source
const (
	PubSubProtocol = "Pub/Sub"
)

Variables

View Source
var (
	PubSubProtocolAttribute = tracing.MessagingProtocolAttribute(PubSubProtocol)
)

Functions

func ConfigToJSON

func ConfigToJSON(cfg *tracingconfig.Config) (string, error)

ConfigToJSON marshals a tracingconfig.Config to a JSON string. It should round-trip with JSONToConfig. E.g. cfg == JSONToConfig(ConfigToJSON(cfg))

func JSONToConfig

func JSONToConfig(jsonConfig string) (*tracingconfig.Config, error)

JSONToConfig converts a JSON marshaled version of the tracingconfig.Config back to the structure. It should round-trip with ConfigToJSON. E.g. cfg == JSONToConfig(ConfigToJSON(cfg))

func SourceDestination added in v0.16.0

func SourceDestination(resourceGroup string, src types.NamespacedName) string

func SubscriptionDestination added in v0.16.0

func SubscriptionDestination(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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