attribute

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package attribute contains the [Attribute] constructors for the metrics functionality of this telemetry library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string, value bool) internal.Attribute

Bool returns an Attribute with a bool value.

func Float

func Float(key string, value float64) internal.Attribute

Float returns an Attribute with a float64 value.

func Int

func Int(key string, value int64) internal.Attribute

Int returns an Attribute with an int64 value.

func String

func String(key string, value string) internal.Attribute

String returns an Attribute with a string value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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