Skip to content

Commit 177a6e5

Browse files
committed
Update metric names for Otel conventions
1 parent f57f686 commit 177a6e5

File tree

14 files changed

+829
-829
lines changed

14 files changed

+829
-829
lines changed

internal/collector/nginxossreceiver/documentation.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ metrics:
1212
enabled: false
1313
```
1414
15-
### nginx.http.connections
15+
### nginx.http.connection.count
1616
17-
The total number of connections.
17+
The current number of connections.
1818
19-
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
20-
| ---- | ----------- | ---------- | ----------------------- | --------- |
21-
| connections | Sum | Int | Cumulative | true |
19+
| Unit | Metric Type | Value Type |
20+
| ---- | ----------- | ---------- |
21+
| connections | Gauge | Int |
2222
2323
#### Attributes
2424
2525
| Name | Description | Values |
2626
| ---- | ----------- | ------ |
2727
| nginx.connections.outcome | The outcome of the connection. | Str: ``ACCEPTED``, ``ACTIVE``, ``HANDLED``, ``READING``, ``WRITING``, ``WAITING`` |
2828
29-
### nginx.http.connections.count
29+
### nginx.http.connections
3030
31-
The current number of connections.
31+
The total number of connections.
3232
33-
| Unit | Metric Type | Value Type |
34-
| ---- | ----------- | ---------- |
35-
| connections | Gauge | Int |
33+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
34+
| ---- | ----------- | ---------- | ----------------------- | --------- |
35+
| connections | Sum | Int | Cumulative | true |
3636
3737
#### Attributes
3838

internal/collector/nginxossreceiver/internal/metadata/generated_config.go

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

internal/collector/nginxossreceiver/internal/metadata/generated_config_test.go

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

internal/collector/nginxossreceiver/internal/metadata/generated_metrics.go

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

internal/collector/nginxossreceiver/internal/metadata/generated_metrics_test.go

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

0 commit comments

Comments
 (0)