Commit 0434993
authored
[receiver/nginx] Enable attribute reaggregation (#47489)
This PR enables the re-aggregation feature for the `nginx` receiver by:
1. Setting `reaggregation_enabled: true` in `metadata.yaml`
2. Marking the `state` attribute as `recommended` so it can be disabled
by users for reaggregation
The `state` attribute (active/reading/writing/waiting) is used only by
`nginx.connections_current`. Marking it `recommended` means it is
enabled by default (preserving current behavior) but can be disabled via
config to aggregate across all states.
Generated files under `internal/metadata/` were regenerated with `go
generate ./...` followed by `goimports -w` (as `make generate` does at
the root).
Fixes #46368
Part of #45396
---------
Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com>1 parent dd7a5f2 commit 0434993
8 files changed
Lines changed: 280 additions & 58 deletions
File tree
- .chloggen
- receiver/nginxreceiver
- internal/metadata
- testdata
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
21 | 37 | | |
22 | 38 | | |
23 | 39 | | |
| |||
Lines changed: 104 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments