-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carlos Pérez-Aradros Herce
committed
Mar 21, 2020
1 parent
a75753b
commit f05f1ce
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Module: prometheus | ||
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-prometheus.html | ||
|
||
- module: prometheus | ||
period: 10s | ||
hosts: ["localhost:9090"] | ||
metrics_path: /metrics | ||
#metrics_filters: | ||
# include: [] | ||
# exclude: [] | ||
#username: "user" | ||
#password: "secret" | ||
|
||
# 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 | ||
|
||
# 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 |