-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reafactor(http_listener_v2): use hardcoded http_listener_v2_path tag …
…to store path Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
- Loading branch information
Dominik Rosiek
committed
Jul 23, 2021
1 parent
84e7904
commit e70e6aa
Showing
3 changed files
with
35 additions
and
14 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,20 @@ | ||
[agent] | ||
interval = "2s" | ||
flush_interval = "3s" | ||
|
||
[[inputs.http_listener_v2]] | ||
service_address = ":9888" | ||
# path = "/prometheus.metrics.container" | ||
path_tag = "path" | ||
data_format = "prometheusremotewrite" | ||
paths = ["/prometheus.metrics.controller-manager", "/prometheus.metrics.scheduler", "/prometheus.metrics.apiserver", "/prometheus.metrics.kubelet", "/prometheus.metrics.container", "/prometheus.metrics.container", "/prometheus.metrics.node", "/prometheus.metrics.operator.rule", "/prometheus.metrics", "/prometheus.metrics.control-plane.coredns", "/prometheus.metrics.control-plane.kube-etcd", "/prometheus.metrics.applications.nginx-ingress", "/prometheus.metrics.applications.nginx", "/prometheus.metrics.applications.redis", "/prometheus.metrics.applications.jmx", "/prometheus.metrics.applications.kafka", "/prometheus.metrics.applications.mysql", "/prometheus.metrics.applications.postgresql", "/prometheus.metrics.applications.apache"] | ||
|
||
[[outputs.file]] | ||
## Files to write to, "stdout" is a specially handled file. | ||
files = ["stdout"] | ||
|
||
## Data format to output. | ||
## Each data format has its own unique set of configuration options, read | ||
## more about them here: | ||
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md | ||
data_format = "prometheus" |
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
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