Skip to content

Commit

Permalink
Add queue.max_events to metrics (#37189)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas authored Nov 24, 2023
1 parent 0b22871 commit 07f6d5a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8911,6 +8911,13 @@ type: long

--

*`beat.stats.libbeat.pipeline.queue.max_events`*::
+
--
type: long

--


*`beat.stats.libbeat.pipeline.events.active`*::
+
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/beat/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion metricbeat/module/beat/stats/_meta/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
"total": 11
},
"queue": {
"acked": 0
"acked": 0,
"max_events": 0
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions metricbeat/module/beat/stats/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@
type: long
- name: queue.acked
type: long
- name: queue.max_events
type: long
- name: events
type: group
fields:
Expand Down
3 changes: 2 additions & 1 deletion metricbeat/module/beat/stats/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ var (
"pipeline": c.Dict("pipeline", s.Schema{
"clients": c.Int("clients"),
"queue": c.Dict("queue", s.Schema{
"acked": c.Int("acked"),
"acked": c.Int("acked"),
"max_events": c.Int("max_events"),
}),
"events": c.Dict("events", s.Schema{
"active": c.Int("active"),
Expand Down

0 comments on commit 07f6d5a

Please sign in to comment.