AttributeKeyModule
PackageAxial
Creates typed keys for application-defined telemetry attributes.
Summary
| Name | Signature | Synopsis |
|---|---|---|
| string | AttributeKey.string name | Creates a string-valued attribute key. |
| boolean | AttributeKey.boolean name | Creates a Boolean-valued attribute key. |
| int64 | AttributeKey.int64 name | Creates a 64-bit integer-valued attribute key. |
| float | AttributeKey.float name | Creates a floating-point-valued attribute key. |
| strings | AttributeKey.strings name | Creates a string-array-valued attribute key. |
| booleans | AttributeKey.booleans name | Creates a Boolean-array-valued attribute key. |
| integers | AttributeKey.integers name | Creates a 64-bit integer-array-valued attribute key. |
| floats | AttributeKey.floats name | Creates a floating-point-array-valued attribute key. |
Creates a string-valued attribute key.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Returns
AttributeKey<string>
Creates a Boolean-valued attribute key.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Returns
AttributeKey<bool>
Creates a 64-bit integer-valued attribute key.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Returns
AttributeKey<int64>
Creates a floating-point-valued attribute key.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Returns
AttributeKey<float>
Creates a string-array-valued attribute key.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Returns
AttributeKey<string list>
Creates a Boolean-array-valued attribute key.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Returns
AttributeKey<bool list>
Creates a 64-bit integer-array-valued attribute key.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Returns
AttributeKey<int64 list>

