-
Notifications
You must be signed in to change notification settings - Fork 4
/
forecastmetrics.example.yaml
38 lines (36 loc) · 1.34 KB
/
forecastmetrics.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
influxdb:
host: http://localhost:8086
# for influx 1.8/VictoriaMetrics, use "user:password"
auth_token: token
# for influx 1.8/VictoriaMetrics, use blank
org: ""
# for influx 1.8/VictoriaMetrics, use "database" or "database/retention-policy"
bucket: forecast
forecast_measurement_name: forecast
astronomy_measurement_name: astronomy
# affects the synthetic forecast metric "accumulated_precip" - if the precipitation probability is greater
# than this value, the metric's value will be incremented for this point.
precip_probability: 0.2
http_cache_dir: /var/lib/forecastmetrics/cache
# overwrite_data will write a single series of forecast data,
# instead of a new series each time. This works
# with influxdb but not with VictoriaMetrics.
overwrite_data: false
# Azure Maps Shared Key to provide location lookup for adhoc forecasts, if enabled
azure_shared_key: your_token_here
server:
# port to run http server on for adhoc forecasts
# set to 0 to disable the http server.
port: 8080
# certificate for serving TLS. Leave blank/remove to disable TLS.
cert_file: /path/to/cert.pem
# certificate private key for serving TLS. Leave blank/remove to disable TLS.
key_file: /path/to/cert.key
# number of adhoc forecasts to cache
ad_hoc_cache_entries: 100
sources:
enabled:
- nws
- visualcrossing
visualcrossing:
key: your_key_here