Difference between revisions of "~/brew/etc/prometheus.yml"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Default macOS == | == Default macOS == | ||
+ | global: | ||
+ | scrape_interval: 15s | ||
+ | |||
+ | scrape_configs: | ||
+ | - job_name: "prometheus" | ||
+ | static_configs: | ||
+ | - targets: ["localhost:[[9090]]"] | ||
+ | |||
+ | == Adding a node == | ||
global: | global: | ||
scrape_interval: 15s | scrape_interval: 15s | ||
Line 9: | Line 18: | ||
static_configs: | static_configs: | ||
- targets: ["localhost:9090"] | - targets: ["localhost:9090"] | ||
− | + | ||
+ | - job_name: "yourlocalnodeexporter" | ||
+ | static_configs: | ||
+ | - targets: ["localhost:[[9100]]"] | ||
== See also == | == See also == |
Latest revision as of 09:27, 1 April 2024
Default macOS[edit]
global: scrape_interval: 15s scrape_configs: - job_name: "prometheus" static_configs: - targets: ["localhost:9090"]
Adding a node[edit]
global: scrape_interval: 15s scrape_configs: - job_name: "prometheus" static_configs: - targets: ["localhost:9090"] - job_name: "yourlocalnodeexporter" static_configs: - targets: ["localhost:9100"]
See also[edit]
prometheus.yml, /etc/default/prometheus, prometheus.args, job_name:, targets:, Prometheus service discovery
- Prometheus: Prometheus installation,
9090
, storage, Prometheus exporters: Node exporter9100
, Blackbox exporter, Prometheus alertmanager (changelog), Prometheus versions, Prometheus Node exporter releases,promtool
,amtool, tsdb
,/etc/default/prometheus, /etc/prometheus/prometheus.yml, journalctl -u prometheus
,/etc/default/prometheus-node-exporter
, PromQL,alert:
, Prometheus Operator, Thanos, VictoriaMetrics, PushGateway, Prometheus API,values.yml
, Amazon Managed Service for Prometheus
Advertising: