Skip to content

Commit

Permalink
fix: maek compatible with new airframes api
Browse files Browse the repository at this point in the history
  • Loading branch information
rickstaa committed Apr 13, 2023
1 parent bdbe610 commit 4fc556d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions prometheus/exporters/json_exporter/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ modules:
metrics:
- name: other_feeders
help: Airframes.io MLAT Feeder count.
path: "{ .stations.active }"
path: "{ .stats.stations.active.total }"
labels:
aggregator: airframes
airframes-aircraft:
metrics:
- name: aircraft
help: Airframes.io tracked aircraft count.
path: "{ .flights.active }"
path: "{ .stats.airframes.flights.active }"
labels:
aggregator: airframes
6 changes: 3 additions & 3 deletions prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ scrape_configs:
- target_label: __address__
replacement: json_exporter:7979
- job_name: airframes_exporter
scrape_interval: 15m
scrape_interval: 30s
scrape_timeout: 30s
metrics_path: /probe
params:
Expand All @@ -148,7 +148,7 @@ scrape_configs:
- target_label: __address__
replacement: json_exporter:7979
- job_name: airframes_aircraft_exporter
scrape_interval: 5m
scrape_interval: 30s
scrape_timeout: 30s
metrics_path: /probe
params:
Expand All @@ -166,7 +166,7 @@ scrape_configs:
- target_label: __address__
replacement: json_exporter:7979
- job_name: adsbx_exporter
scrape_interval: 15m
scrape_interval: 30s
scrape_timeout: 30s
static_configs:
- targets:
Expand Down

0 comments on commit 4fc556d

Please sign in to comment.