Skip to content

Commit fb649a9

Browse files
committed
[receiver/snmp] Set component status to alpha
1 parent db1aee5 commit fb649a9

File tree

3 files changed

+25
-9
lines changed

3 files changed

+25
-9
lines changed

.chloggen/snmp-alpha.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: enhancement
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
5+
component: snmpreceiver
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: Set component status to alpha
9+
10+
# One or more tracking issues related to the change
11+
issues: [16454]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext:

receiver/snmpreceiver/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
| Status | |
44
| ------------------------ |---------------|
5-
| Stability | [development] |
5+
| Stability | [alpha] |
66
| Supported pipeline types | metrics |
77
| Distributions | [contrib] |
88

@@ -71,7 +71,7 @@ These configuration options are for determining what metrics and attributes will
7171
#### Resource Attribute Configuration
7272
Resource attribute configurations are used to define what resource attributes will be used in a collection.
7373

74-
| Field Name | Description | Value |
74+
| Field Name | Description | Value |
7575
| -- | -- | -- |
7676
| `oid` | Required if no `indexed_value_prefix`. This is the column OID in a SNMP table which will use the returned indexed SNMP data to create resource attribute values for unique resources. Metric configurations will reference these resource attribute configurations in order to assign metrics data to resources | string |
7777
| `indexed_value_prefix` | Required if no `oid`. This is a string prefix which will be added to the indices of returned metric indexed SNMP data to create resource attribute values for unique resources. Metric configurations will reference these resource attribute configurations in order to assign metrics data to resources | string |
@@ -148,13 +148,13 @@ receivers:
148148
auth_password: $SNMP_AUTH_PASSWORD
149149
privacy_type: "DES"
150150
privacy_password: $SNMP_PRIVACY_PASSWORD
151-
151+
152152
resource_attributes:
153153
resource_attr.name.1:
154154
indexed_value_prefix: probe
155155
resource_attr.name.2:
156156
oid: "1.1.1.1"
157-
157+
158158
attributes:
159159
attr.name.1:
160160
value: a2_new_key
@@ -165,7 +165,7 @@ receivers:
165165
indexed_value_prefix: device
166166
attr.name.3:
167167
oid: "2.2.2.2"
168-
168+
169169
metrics:
170170
# This metric will have multiple datapoints wil 1 attribute on each.
171171
# Each datapoint will have a (hopefully) different attribute value
@@ -208,11 +208,11 @@ receivers:
208208
monotonic: false
209209
value_type: double
210210
scalar_oids:
211-
- oid: "4.4.4.4.0"
211+
- oid: "4.4.4.4.0"
212212
attributes:
213213
- name: attr.name.1
214214
value: in
215-
- oid: "4.4.4.5.0"
215+
- oid: "4.4.4.5.0"
216216
attributes:
217217
- name: aattr.name.1
218218
value: out
@@ -241,5 +241,5 @@ receivers:
241241

242242
The full list of settings exposed for this receiver are documented [here](./config.go) with detailed sample configurations [here](./testdata/config.yaml).
243243

244-
[development]: https://github.com/open-telemetry/opentelemetry-collector#development
244+
[alpha]: https://github.com/open-telemetry/opentelemetry-collector#development
245245
[contrib]:https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib

receiver/snmpreceiver/factory.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929

3030
const (
3131
typeStr = "snmp"
32-
stability = component.StabilityLevelDevelopment
32+
stability = component.StabilityLevelAlpha
3333
)
3434

3535
var errConfigNotSNMP = errors.New("config was not a SNMP receiver config")

0 commit comments

Comments
 (0)