Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ServiceName is our service name in external tracing and metrics services.
ServiceName = "nri-resource-policy"
)
Variables ¶
View Source
var ( // Attribute aliases tracing.Attribute(), for SetIdentity(). Attribute = tracing.Attribute )
Functions ¶
func HTTPServer ¶ added in v0.3.0
HTTPServer returns our HTTP server.
func Reconfigure ¶ added in v0.3.0
Reconfigure our instrumentation services.
func SetIdentity ¶
func SetIdentity(attrs ...KeyValue)
SetIdentity sets (extra) process identity attributes for tracing.
Types ¶
Click to show internal directories.
Click to hide internal directories.