Documentation
¶
Overview ¶
Package observability provides tools for working with open census.
Index ¶
Constants ¶
View Source
const MetricRoot = "en-verification-server"
Variables ¶
View Source
var ( RealmTagKey = tag.MustNewKey("realm") ErrorCodeTagKey = tag.MustNewKey("error_code") )
Functions ¶
func APITagKeys ¶ added in v0.12.0
APITagKeys return a slice of tag.Key with common tag keys + additional API specific tag keys.
func CommonTagKeys ¶ added in v0.11.0
CommonTagKeys returns the slice of common tag keys that should used in all views.
func WithErrorCode ¶ added in v1.1.0
WithErrorCode creates a new context with the realm id attached to the observability context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.