molttelemetry

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterConnString

func RegisterConnString(str string) func()

RegisterConnString registers a connection string to Cockroach for telemetry, returning a function which undoes the global state.

func ReportTelemetry

func ReportTelemetry(telemetry ...string) error

ReportTelemetry reports telemetry using crdb_internal.increment_feature_counter. RegisterConnString must be called beforehand.

func ReportTelemetryAsync

func ReportTelemetryAsync(logger zerolog.Logger, telemetry ...string)

ReportTelemetryAsync reports telemetry asynchronously.

func TelemetryKey

func TelemetryKey(feature string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL