Grafana datasource variable

This commit is contained in:
2024-06-04 10:39:48 +02:00
parent 28d296bb65
commit d1539bd1c4
2 changed files with 27 additions and 6 deletions

View File

@@ -28,6 +28,8 @@ app.post('/', (req, res) => {
const point = new Point(sensor.name).floatField('value', parseFloat(sensor.value));
writeClient.writePoint(point);
});
console.log("Data written to InfluxDB");
});
});