Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureTelemetry ¶
ConfigureTelemetry will configure OpenTelemetry to expose metrics and traces using Prometheus export for metrics and OTEL grpc exporter for traces. The given port is the port to expose metrics, the given serviceName is the OTEL service name attribute associated with all traces. The function will return a shutdown function that can be called when shutting down the process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.