This is a weewx extension that sends observations as Datadog metrics.
Copyright 2022 Brice Figureau Distributed under terms of the MIT License
- download
wget -O weewx-datadog.zip https://github.com/masterzen/weewx-datadog/archive/master.zip
- run the installer:
wee_extension --install weewx-datadog.zip
- enter parameters in weewx.conf:
[StdRESTful]
[[Datadog]]
api_key = <your API Key>
app_key = <your app key>
- restart weewx:
sudo /etc/init.d/weewx stop
sudo /etc/init.d/weewx start
A minimal configuration requires only an api_key
and an app_key
.
Here is a complete enumeration of options. Specify only those that you need.
[StdRESTful]
[[Datadog]]
api_key = 03423...
app_key = abcd...
binding = loop,archive # default is archive
station_name = ... # optional, sets the datadog host nane
api_host = (https://api.datadoghq.com|https://api.datadoghq.eu) # optional specify datadog host
tags = location:A,field:C # optional