-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
metadata.yaml
139 lines (118 loc) · 3.72 KB
/
metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# Sample metadata file with all available configurations for a receiver.
type: sample
scope_name: go.opentelemetry.io/collector/cmd/mdatagen/internal/samplereceiver
sem_conv_version: 1.9.0
status:
class: receiver
stability:
development: [logs]
beta: [traces]
stable: [metrics]
distributions: []
codeowners:
active: [dmitryax]
warnings:
- Any additional information that should be brought to the consumer's attention
resource_attributes:
string.resource.attr:
description: Resource attribute with any string value.
type: string
enabled: true
string.enum.resource.attr:
description: Resource attribute with a known set of string values.
type: string
enum: [one, two]
enabled: true
optional.resource.attr:
description: Explicitly disabled ResourceAttribute.
type: string
enabled: false
slice.resource.attr:
description: Resource attribute with a slice value.
type: slice
enabled: true
map.resource.attr:
description: Resource attribute with a map value.
type: map
enabled: true
string.resource.attr_disable_warning:
description: Resource attribute with any string value.
type: string
enabled: true
warnings:
if_enabled_not_set: This resource_attribute will be disabled by default soon.
string.resource.attr_remove_warning:
description: Resource attribute with any string value.
type: string
enabled: false
warnings:
if_configured: This resource_attribute is deprecated and will be removed soon.
string.resource.attr_to_be_removed:
description: Resource attribute with any string value.
type: string
enabled: true
warnings:
if_enabled: This resource_attribute is deprecated and will be removed soon.
attributes:
string_attr:
description: Attribute with any string value.
type: string
overridden_int_attr:
name_override: state
description: Integer attribute with overridden name.
type: int
enum_attr:
description: Attribute with a known set of string values.
type: string
enum: [red, green, blue]
boolean_attr:
description: Attribute with a boolean value.
type: bool
slice_attr:
description: Attribute with a slice value.
type: slice
map_attr:
description: Attribute with a map value.
type: map
metrics:
default.metric:
enabled: true
description: Monotonic cumulative sum int metric enabled by default.
extended_documentation: The metric will be become optional soon.
unit: s
sum:
value_type: int
monotonic: true
aggregation_temporality: cumulative
attributes: [string_attr, overridden_int_attr, enum_attr, slice_attr, map_attr]
warnings:
if_enabled_not_set: This metric will be disabled by default soon.
optional.metric:
enabled: false
description: "[DEPRECATED] Gauge double metric disabled by default."
unit: 1
gauge:
value_type: double
attributes: [string_attr, boolean_attr]
warnings:
if_configured: This metric is deprecated and will be removed soon.
optional.metric.empty_unit:
enabled: false
description: "[DEPRECATED] Gauge double metric disabled by default."
unit: ""
gauge:
value_type: double
attributes: [string_attr, boolean_attr]
warnings:
if_configured: This metric is deprecated and will be removed soon.
default.metric.to_be_removed:
enabled: true
description: "[DEPRECATED] Non-monotonic delta sum double metric enabled by default."
extended_documentation: The metric will be will be removed soon.
unit: s
sum:
value_type: double
monotonic: false
aggregation_temporality: delta
warnings:
if_enabled: This metric is deprecated and will be removed soon.