Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #15742 to 7.5: Fix indentation in fields definition of generic modules #15759

Merged
merged 1 commit into from
Jan 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -25466,6 +25466,7 @@ Stats scraped from a Prometheus endpoint.




*`prometheus.labels.*`*::
+
--
Expand All @@ -25479,7 +25480,7 @@ type: object
*`prometheus.metrics.*`*::
+
--
Prometheus metric - release: ga
Prometheus metric


type: object
Expand Down Expand Up @@ -27756,6 +27757,7 @@ Statsd module




*`statsd.*.count`*::
+
--
Expand All @@ -27769,7 +27771,7 @@ type: object
*`statsd.*.*`*::
+
--
Statsd metrics - release: beta
Statsd metrics


type: object
Expand Down
27 changes: 15 additions & 12 deletions metricbeat/module/prometheus/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@
release: ga
settings: ["ssl", "http"]
fields:
# Order is important here, labels will match first, the rest are double
- name: prometheus.labels.*
type: object
object_type: keyword
description: >
Prometheus metric labels
- name: prometheus.metrics.*
type: object
object_type: double
object_type_mapping_type: "*"
description: >
Prometheus metric
- name: prometheus
type: group
fields:
# Order is important here, labels will match first, the rest are double
- name: labels.*
type: object
object_type: keyword
description: >
Prometheus metric labels
- name: metrics.*
type: object
object_type: double
object_type_mapping_type: "*"
description: >
Prometheus metric
2 changes: 1 addition & 1 deletion metricbeat/module/prometheus/fields.go

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

27 changes: 15 additions & 12 deletions x-pack/metricbeat/module/statsd/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
Statsd module
release: beta
fields:
- name: statsd.*.count
type: object
object_type: long
object_type_mapping_type: "long"
description: >
Statsd counters
- name: statsd.*.*
type: object
object_type: float
object_type_mapping_type: "*"
description: >
Statsd metrics
- name: statsd
type: group
fields:
- name: '*.count'
type: object
object_type: long
object_type_mapping_type: "long"
description: >
Statsd counters
- name: '*.*'
type: object
object_type: float
object_type_mapping_type: "*"
description: >
Statsd metrics
2 changes: 1 addition & 1 deletion x-pack/metricbeat/module/statsd/fields.go

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