AttributeKeyModule

PackageAxial
Creates typed keys for application-defined telemetry attributes.

Summary

NameSignatureSynopsis
stringAttributeKey.string nameCreates a string-valued attribute key.
booleanAttributeKey.boolean nameCreates a Boolean-valued attribute key.
int64AttributeKey.int64 nameCreates a 64-bit integer-valued attribute key.
floatAttributeKey.float nameCreates a floating-point-valued attribute key.
stringsAttributeKey.strings nameCreates a string-array-valued attribute key.
booleansAttributeKey.booleans nameCreates a Boolean-array-valued attribute key.
integersAttributeKey.integers nameCreates a 64-bit integer-array-valued attribute key.
floatsAttributeKey.floats nameCreates a floating-point-array-valued attribute key.

string

AttributeKey.string name
Member
Creates a string-valued attribute key.

Parameters

NameTypeDescription
namestring

Returns

AttributeKey<string>

boolean

AttributeKey.boolean name
Member
Creates a Boolean-valued attribute key.

Parameters

NameTypeDescription
namestring

Returns

AttributeKey<bool>

int64

AttributeKey.int64 name
Member
Creates a 64-bit integer-valued attribute key.

Parameters

NameTypeDescription
namestring

Returns

AttributeKey<int64>

float

AttributeKey.float name
Member
Creates a floating-point-valued attribute key.

Parameters

NameTypeDescription
namestring

Returns

AttributeKey<float>

strings

AttributeKey.strings name
Member
Creates a string-array-valued attribute key.

Parameters

NameTypeDescription
namestring

Returns

AttributeKey<string list>

booleans

AttributeKey.booleans name
Member
Creates a Boolean-array-valued attribute key.

Parameters

NameTypeDescription
namestring

Returns

AttributeKey<bool list>

integers

AttributeKey.integers name
Member
Creates a 64-bit integer-array-valued attribute key.

Parameters

NameTypeDescription
namestring

Returns

AttributeKey<int64 list>

floats

AttributeKey.floats name
Member
Creates a floating-point-array-valued attribute key.

Parameters

NameTypeDescription
namestring

Returns

AttributeKey<float list>