configtelemetry

package
v2.9.0-dev Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package configtelemetry provides the telemetry reporting functions for configuration values.

All configuration telemetry must go through the three exported functions in this package.

  • Report: use to report a non-default value (auto-increments seqID)
  • ReportWithID: same as Report, but also records the config source's ID
  • ReportDefault: use to report the hard-coded default for a configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Report

func Report(name string, value any, origin telemetry.Origin)

Report reports a configuration value from a non-default configuration source.

func ReportDefault

func ReportDefault(name string, value any)

ReportDefault reports the value for a configuration key from the 'default' configuration source.

func ReportWithID

func ReportWithID(name string, value any, origin telemetry.Origin, id string)

ReportWithID reports a non-default configuration value, including the config source's ID. Use this for sources that carry a config_id (e.g. declarative config).

Types

This section is empty.

Jump to

Keyboard shortcuts

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