Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestServer ¶
NewTestServer creates a new server for testing, where received traces will call the callback function. The returned string is the address where traces can be sent using OTLP.
func PrometheusExporter ¶
func PrometheusExporter(reg prometheus.Registerer) (otelmetric.Reader, error)
This function is used by both production code and unit tests. It makes sure that uint tests use the same conventions for metric readers as production code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.