Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelsaks committed Dec 15, 2024
1 parent 42dffe5 commit de66b87
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions x-pack/metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1442,11 +1442,9 @@ metricbeat.modules:
# Password to use when connecting to PostgreSQL. Empty by default.
#password: pass

#------------------------------ Prometheus Module ------------------------------
# Metrics collected from a Prometheus endpoint
#----------------------- Prometheus Typed Metrics Module -----------------------
- module: prometheus
period: 10s
metricsets: ["collector"]
hosts: ["localhost:9090"]
metrics_path: /metrics
#metrics_filters:
Expand All @@ -1455,28 +1453,46 @@ metricbeat.modules:
#username: "user"
#password: "secret"

# Count number of metrics present in Elasticsearch document (default: false)
#metrics_count: false

# This can be used for service account based authorization:
#bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
#ssl.certificate_authorities:
# - /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt

# Count number of metrics present in Elasticsearch document (default: false)
#metrics_count: false

# Use Elasticsearch histogram type to store histograms (beta, default: false)
# This will change the default layout and put metric type in the field name
#use_types: true

# Store counter rates instead of original cumulative counters (experimental, default: false)
#rate_counters: true

# Metrics sent by a Prometheus server using remote_write option
#- module: prometheus
# metricsets: ["remote_write"]
# host: "localhost"
# port: "9201"

# Count number of metrics present in Elasticsearch document (default: false)
#metrics_count: false

# Secure settings for the server using TLS/SSL:
#ssl.certificate: "/etc/pki/server/cert.pem"
#ssl.key: "/etc/pki/server/cert.key"

# Count number of metrics present in Elasticsearch document (default: false)
#metrics_count: false

# Use Elasticsearch histogram type to store histograms (beta, default: false)
# This will change the default layout and put metric type in the field name
#use_types: true

# Store counter rates instead of original cumulative counters (experimental, default: false)
#rate_counters: true

# Define patterns for counter and histogram types so as to identify metrics' types according to these patterns
#types_patterns:
# counter_patterns: []
# histogram_patterns: []

# Metrics that will be collected using a PromQL
#- module: prometheus
# metricsets: ["query"]
Expand All @@ -1503,9 +1519,11 @@ metricbeat.modules:
# params:
# query: "some_value"

#----------------------- Prometheus Typed Metrics Module -----------------------
#------------------------------ Prometheus Module ------------------------------
# Metrics collected from a Prometheus endpoint
- module: prometheus
period: 10s
metricsets: ["collector"]
hosts: ["localhost:9090"]
metrics_path: /metrics
#metrics_filters:
Expand All @@ -1514,45 +1532,27 @@ metricbeat.modules:
#username: "user"
#password: "secret"

# Count number of metrics present in Elasticsearch document (default: false)
#metrics_count: false

# This can be used for service account based authorization:
#bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
#ssl.certificate_authorities:
# - /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt

# Count number of metrics present in Elasticsearch document (default: false)
#metrics_count: false

# Use Elasticsearch histogram type to store histograms (beta, default: false)
# This will change the default layout and put metric type in the field name
#use_types: true

# Store counter rates instead of original cumulative counters (experimental, default: false)
#rate_counters: true

# Metrics sent by a Prometheus server using remote_write option
#- module: prometheus
# metricsets: ["remote_write"]
# host: "localhost"
# port: "9201"

# Secure settings for the server using TLS/SSL:
#ssl.certificate: "/etc/pki/server/cert.pem"
#ssl.key: "/etc/pki/server/cert.key"

# Count number of metrics present in Elasticsearch document (default: false)
#metrics_count: false

# Use Elasticsearch histogram type to store histograms (beta, default: false)
# This will change the default layout and put metric type in the field name
#use_types: true

# Store counter rates instead of original cumulative counters (experimental, default: false)
#rate_counters: true

# Define patterns for counter and histogram types so as to identify metrics' types according to these patterns
#types_patterns:
# counter_patterns: []
# histogram_patterns: []
# Secure settings for the server using TLS/SSL:
#ssl.certificate: "/etc/pki/server/cert.pem"
#ssl.key: "/etc/pki/server/cert.key"

# Metrics that will be collected using a PromQL
#- module: prometheus
Expand Down

0 comments on commit de66b87

Please sign in to comment.