send unity editor data to InfluxDB.
// start sending data to influxdb.
void Start()
{
ZuKit.Setup(
"http://localhost:8086",
"myZuDB",
() =>
{
return new ZuValues(
(new ZuKey("key", ("index", 0), ("temp", 1)), Time.frameCount),
(new ZuKey("key", ("index", 1), ("temp", 2)), Random.Range(-100 * Time.frameCount, 100 * Time.frameCount))
);
}
);
}
// it's good idea to stop sending when your app closed.
void OnApplicationQuit()
{
ZuKit.Teardown();
}
see here