aports/config/telegraf/monerod.conf

13 lines
325 B
Plaintext

[[inputs.http]]
urls = ["http://localhost:7579/json_rpc"]
method = "POST"
data_format = "json"
content_encoding = "identity"
body = '{"method":"get_info"}'
json_query = "result"
headers = { "Content-Type" = "application/json", "Transfer-Encoding" = "identity" }
tag_keys = [
"nettype"
]
name_override = "monerod"