I'm want to write a data stream of temperature reading to InfluxDB 
(timestamp, weather station and temperature value). Normally the data is 
reported every 10 minutes. But sometimes there are data gaps and therefore 
I implemented a scheduled process to fill those gaps. It runs every hour, 
calculates an estimated values and fills the missing points in InfluxDB 
(adding an "estimated=true" field). At the same time the weather station is 
sometimes sending missing data points later on. In case this happens while 
my gap filling process is running it can happen that actual values are 
overridden by estimated values.

Is there a way to only allow the insert of the estimated value in case 
there is no actual measurement already in place?

My current assumption is that I have to write the estimated flag to a tag 
(instead of field) to essentially create different series. The drawback if 
that my client code needs to filter out estimated values in they co-exist 
with actual measurement for the same timestamp.

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/0f42bacd-fd61-43e9-9a7d-ab9f73cd61ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to