Open Hacker-web-Vi opened 1 week ago
Basically, file_report_output
is used for dev purpose, and need not to configure it.
As for reporting to influxdb, is there any stderr or logs? E.g.
Exit metrics reporting due to error
failed to write points to influxdb
Moreover, you could check the metrics via RPC:
curl -X POST --data '{"jsonrpc":"2.0","method":"admin_getMetrics","params":["metrics"],"id":1}' -H "Content-Type: application/json" http://127.0.0.1:5679 | jq -C ".result"
There is a metric metrics_report_failures
records the number of failures to report metrics to influcdb.
@Hacker-web-Vi Have your issue resolved?
Hello! I'm trying to push zgs_node metrics to the influxdb bucket, but it doesn't work. Influxdb is up and running. I tried to upload some metrics manually using the same auth method as provided in the config below and it worked. There is no related error in the log.
zgs_node v0.7.4
In trace logs I was able to find our influxdb host