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 GetResource ¶ added in v0.12.0
func GetResource() (*otelresource.Resource, error)
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 ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package coverage serves the coverage data of a plugin built with coverage instrumentation, using make COVER=1, over the instrumentation HTTP server.
|
Package coverage serves the coverage data of a plugin built with coverage instrumentation, using make COVER=1, over the instrumentation HTTP server. |
|
internal/coverage-server
command
This is a helper for the tests of the coverage package, and handy for poking at the endpoints by hand.
|
This is a helper for the tests of the coverage package, and handy for poking at the endpoints by hand. |
Click to show internal directories.
Click to hide internal directories.