Skip to content

Commit

Permalink
Remove zookeeper mntr hostname (#41887)
Browse files Browse the repository at this point in the history
* remove hostname from zookeeper mntr data stream

* update PR id

* fix libbeat test data

* removed duplicate entry from CHANGELOG.next.asciidoc

---------

Co-authored-by: Ishleen Kaur <[email protected]>
  • Loading branch information
stefans-elastic and ishleenk17 authored Jan 24, 2025
1 parent 366bc8e commit e0ef169
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 23 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
- [K8s Integration] Enhance HTTP authentication in case of token updates for Apiserver, Controllermanager and Scheduler metricsets {issue}41910[41910] {pull}42016[42016]
- Fixed `creation_date` scientific notation output in the `elasticsearch.index` metricset. {pull}42053[42053]
- Fix bug where metricbeat unintentionally triggers Windows ASR. {pull}42177[42177]
- Remove `hostname` field from zookeeper's `mntr` data stream. {pull}41887[41887]

*Osquerybeat*

Expand Down
3 changes: 1 addition & 2 deletions libbeat/docs/troubleshooting/default_field.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ PUT /metricbeat-6.6.2-2019.04.09/_settings
"windows.service.name",
"windows.service.start_type",
"windows.service.state",
"zookeeper.mntr.hostname",
"zookeeper.mntr.server_state",
"zookeeper.mntr.version",
"fields.*"
Expand Down Expand Up @@ -788,4 +787,4 @@ PUT /filebeat-6.6.2-2019.04.09/_settings
}
}
}
```
```
4 changes: 0 additions & 4 deletions libbeat/kibana/testdata/extensive/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6764,10 +6764,6 @@
`mntr` contains the metrics reported by the four-letter `mntr`
command.
fields:
- name: hostname
type: keyword
description: >
ZooKeeper hostname.
- name: approximate_data_size
type: long
description: >
Expand Down
2 changes: 1 addition & 1 deletion libbeat/kibana/testdata/extensive/metricbeat-6.ndjson

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -69328,16 +69328,6 @@ type: long



*`zookeeper.mntr.hostname`*::
+
--
ZooKeeper hostname.


type: keyword

--

*`zookeeper.mntr.approximate_data_size`*::
+
--
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/zookeeper/fields.go

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

1 change: 0 additions & 1 deletion metricbeat/module/zookeeper/mntr/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
`mntr` Metricset fetches the data returned by the `mntr` admin keyword. It exposes the following metrics:

* `zookeeper.mntr.hostname`: ZooKeeper hostname.
* `zookeeper.mntr.approximate_data_size`: Approximate size of ZooKeeper data.
* `zookeeper.mntr.latency.avg`: Average latency between ensemble hosts in milliseconds.
* `zookeeper.mntr.ephemerals_count`: Number of ephemeral znodes.
Expand Down
4 changes: 0 additions & 4 deletions metricbeat/module/zookeeper/mntr/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
command.
release: ga
fields:
- name: hostname
type: keyword
description: >
ZooKeeper hostname.
- name: approximate_data_size
type: long
description: >
Expand Down

0 comments on commit e0ef169

Please sign in to comment.