Skip to content

Commit 38e927b

Browse files
authored
[chore] [receiver/bigip] Switch to autogenerated status (#21164)
* [receiver/bigip] switched to autogenerated status
1 parent 2aeb3ca commit 38e927b

File tree

4 files changed

+27
-8
lines changed

4 files changed

+27
-8
lines changed

receiver/bigipreceiver/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# F5 Big-IP Receiver
22

3+
<!-- status autogenerated section -->
34
| Status | |
45
| ------------------------ |-----------|
5-
| Stability | [beta] |
6+
| Stability | [beta] |
67
| Supported pipeline types | metrics |
78
| Distributions | [contrib] |
89

10+
[beta]: https://github.com/open-telemetry/opentelemetry-collector#beta
11+
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
12+
<!-- end autogenerated section -->
13+
914
This receiver fetches stats from a F5 Big-IP node using F5's [iControl REST API](https://clouddocs.f5.com/api/icontrol-rest).
1015

1116
## Prerequisites
@@ -15,6 +20,7 @@ This receiver supports Big-IP versions `11.6.5+`
1520
## Configuration
1621

1722
The following settings are required:
23+
1824
- `username`
1925
- `password`
2026

@@ -42,7 +48,3 @@ The full list of settings exposed for this receiver are documented [here](./conf
4248
## Metrics
4349
4450
Details about the metrics produced by this receiver can be found in [documentation.md](./documentation.md)
45-
46-
[beta]: https://github.com/open-telemetry/opentelemetry-collector#beta
47-
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
48-

receiver/bigipreceiver/factory.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ import (
2929
)
3030

3131
const (
32-
typeStr = "bigip"
33-
stability = component.StabilityLevelBeta
32+
typeStr = "bigip"
3433
)
3534

3635
var errConfigNotBigip = errors.New("config was not a Big-IP receiver config")
@@ -40,7 +39,7 @@ func NewFactory() receiver.Factory {
4039
return receiver.NewFactory(
4140
typeStr,
4241
createDefaultConfig,
43-
receiver.WithMetrics(createMetricsReceiver, stability))
42+
receiver.WithMetrics(createMetricsReceiver, metadata.Stability))
4443
}
4544

4645
// createDefaultConfig creates a config for Big-IP with as many default values as possible

receiver/bigipreceiver/internal/metadata/generated_status.go

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/bigipreceiver/metadata.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
type: bigipreceiver
22

3+
status:
4+
class: receiver
5+
stability: beta
6+
pipelines: [metrics]
7+
distributions: [contrib]
8+
39
resource_attributes:
410
bigip.virtual_server.name:
511
description: The name of the Big-IP Virtual Server.

0 commit comments

Comments
 (0)