| 1 |
[comment]: <> (Code generated by mdatagen. DO NOT EDIT.) |
| 2 |
|
| 3 |
# sample |
| 4 |
|
| 5 |
## Default Metrics |
| 6 |
|
| 7 |
The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: |
| 8 |
|
| 9 |
```yaml |
| 10 |
metrics: |
| 11 |
<metric_name>: |
| 12 |
enabled: false |
| 13 |
``` |
| 14 |
|
| 15 |
### default.metric |
| 16 |
|
| 17 |
Monotonic cumulative sum int metric enabled by default. |
| 18 |
|
| 19 |
The metric will be become optional soon. |
| 20 |
|
| 21 |
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | |
| 22 |
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | |
| 23 |
| s | Sum | Int | Cumulative | true | Development | |
| 24 |
|
| 25 |
#### Attributes |
| 26 |
|
| 27 |
| Name | Description | Values | Requirement Level | |
| 28 |
| ---- | ----------- | ------ | -------- | |
| 29 |
| string_attr | Attribute with any string value. | Any Str | Recommended | |
| 30 |
| state | Integer attribute with overridden name. | Any Int | Recommended | |
| 31 |
| enum_attr | Attribute with a known set of string values. | Str: ``red``, ``green``, ``blue`` | Recommended | |
| 32 |
| slice_attr | Attribute with a slice value. | Any Slice | Recommended | |
| 33 |
| map_attr | Attribute with a map value. | Any Map | Recommended | |
| 34 |
|
| 35 |
### default.metric.to_be_removed |
| 36 |
|
| 37 |
[DEPRECATED] Non-monotonic delta sum double metric enabled by default. |
| 38 |
|
| 39 |
The metric will be removed soon. |
| 40 |
|
| 41 |
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | |
| 42 |
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | |
| 43 |
| s | Sum | Double | Delta | false | Deprecated | |
| 44 |
|
| 45 |
### metric.input_type |
| 46 |
|
| 47 |
Monotonic cumulative sum int metric with string input_type enabled by default. |
| 48 |
|
| 49 |
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | |
| 50 |
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | |
| 51 |
| s | Sum | Int | Cumulative | true | Development | |
| 52 |
|
| 53 |
#### Attributes |
| 54 |
|
| 55 |
| Name | Description | Values | Requirement Level | |
| 56 |
| ---- | ----------- | ------ | -------- | |
| 57 |
| string_attr | Attribute with any string value. | Any Str | Recommended | |
| 58 |
| state | Integer attribute with overridden name. | Any Int | Recommended | |
| 59 |
| enum_attr | Attribute with a known set of string values. | Str: ``red``, ``green``, ``blue`` | Recommended | |
| 60 |
| slice_attr | Attribute with a slice value. | Any Slice | Recommended | |
| 61 |
| map_attr | Attribute with a map value. | Any Map | Recommended | |
| 62 |
|
| 63 |
### system.cpu.time |
| 64 |
|
| 65 |
Monotonic cumulative sum int metric enabled by default. |
| 66 |
|
| 67 |
The metric will be become optional soon. |
| 68 |
|
| 69 |
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | Semantic Convention | |
| 70 |
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | ------------------- | |
| 71 |
| s | Sum | Int | Cumulative | true | Beta | [system.cpu.time](https://github.com/open-telemetry/semantic-conventions/blob/v1.37.0/docs/system/system-metrics.md#metric-systemcputime) | |
| 72 |
|
| 73 |
## Optional Metrics |
| 74 |
|
| 75 |
The following metrics are not emitted by default. Each of them can be enabled by applying the following configuration: |
| 76 |
|
| 77 |
```yaml |
| 78 |
metrics: |
| 79 |
<metric_name>: |
| 80 |
enabled: true |
| 81 |
``` |
| 82 |
|
| 83 |
### optional.metric |
| 84 |
|
| 85 |
[DEPRECATED] Gauge double metric disabled by default. |
| 86 |
|
| 87 |
| Unit | Metric Type | Value Type | Stability | |
| 88 |
| ---- | ----------- | ---------- | --------- | |
| 89 |
| 1 | Gauge | Double | Deprecated | |
| 90 |
|
| 91 |
#### Attributes |
| 92 |
|
| 93 |
| Name | Description | Values | Requirement Level | |
| 94 |
| ---- | ----------- | ------ | -------- | |
| 95 |
| string_attr | Attribute with any string value. | Any Str | Recommended | |
| 96 |
| boolean_attr | Attribute with a boolean value. | Any Bool | Recommended | |
| 97 |
| boolean_attr2 | Another attribute with a boolean value. | Any Bool | Recommended | |
| 98 |
|
| 99 |
### optional.metric.empty_unit |
| 100 |
|
| 101 |
[DEPRECATED] Gauge double metric disabled by default. |
| 102 |
|
| 103 |
| Unit | Metric Type | Value Type | Stability | |
| 104 |
| ---- | ----------- | ---------- | --------- | |
| 105 |
| | Gauge | Double | Deprecated | |
| 106 |
|
| 107 |
#### Attributes |
| 108 |
|
| 109 |
| Name | Description | Values | Requirement Level | |
| 110 |
| ---- | ----------- | ------ | -------- | |
| 111 |
| string_attr | Attribute with any string value. | Any Str | Recommended | |
| 112 |
| boolean_attr | Attribute with a boolean value. | Any Bool | Recommended | |
| 113 |
|
| 114 |
## Resource Attributes |
| 115 |
|
| 116 |
| Name | Description | Values | Enabled | |
| 117 |
| ---- | ----------- | ------ | ------- | |
| 118 |
| map.resource.attr | Resource attribute with a map value. | Any Map | true | |
| 119 |
| optional.resource.attr | Explicitly disabled ResourceAttribute. | Any Str | false | |
| 120 |
| slice.resource.attr | Resource attribute with a slice value. | Any Slice | true | |
| 121 |
| string.enum.resource.attr | Resource attribute with a known set of string values. | Str: ``one``, ``two`` | true | |
| 122 |
| string.resource.attr | Resource attribute with any string value. | Any Str | true | |
| 123 |
| string.resource.attr_disable_warning | Resource attribute with any string value. | Any Str | true | |
| 124 |
| string.resource.attr_remove_warning | Resource attribute with any string value. | Any Str | false | |
| 125 |
| string.resource.attr_to_be_removed | Resource attribute with any string value. | Any Str | true | |