The instrument measurement count is approximate, rather than being counted on demand. This is because it is very expensive to ask Influx to count the number of measurements. The count is a simply stored value which is updated every time a new measurement is added.
When an instrument configuration is cloned (to add a new instrument), all of the metadata is duplicated. This includes the measurement count, even though the existing data are not cloned.
The instrument measurement count is approximate, rather than being counted on demand. This is because it is very expensive to ask Influx to count the number of measurements. The count is a simply stored value which is updated every time a new measurement is added.
When an instrument configuration is cloned (to add a new instrument), all of the metadata is duplicated. This includes the measurement count, even though the existing data are not cloned.
Zero this value during the clone operation.