std

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TelemetryCollectorOtlpHostSettingKey  = "telemetry.collector.otlp.host"
	TelemetryCollectorOtlpPortsSettingKey = "telemetry.collector.otlp.ports"
)

Variables

This section is empty.

Functions

func LocalEarlyLoadedSettingSource

func LocalEarlyLoadedSettingSource(name string, paths ...string) kareless.SettingSource

LocalEarlyLoadedSettingSource provides a setting source fed from files. Keys are case-insensitive. paths are directories and name is filename without extension. Files can be in any supported formats including json, yaml and toml with appropriate extension (.json, .yml, .yaml, .toml).

func OpenTelemetryDriverConstructor added in v0.7.3

func OpenTelemetryDriverConstructor(serviceName string, attrs ...attribute.KeyValue) kareless.DriverConstructor

Types

type MapSettingSource

type MapSettingSource map[string]any

func (MapSettingSource) Get

func (ss MapSettingSource) Get(_ context.Context, key string) (any, error)

Jump to

Keyboard shortcuts

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