Documentation
¶
Index ¶
Constants ¶
View Source
const ( PrometheusExporter = "prometheus" StackdriverExporter = "stackdriver" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Telemetry ¶
type Telemetry struct {
Logger *zap.Logger
MetricsExporter view.Exporter
TracingExporter trace.Exporter
Flags TelemetryFlags
}
func (Telemetry) PrometheusMetricsExporter ¶
func (t Telemetry) PrometheusMetricsExporter() (*prometheus.Exporter, bool)
Click to show internal directories.
Click to hide internal directories.