A series is defined by the unique combination of measurements, tag key value pairs, and field keys.
You can learn more here
so if you wrote the following line protocol which corresponds to what you have
measurement, a=1,b=1,e=2 f=2 time1
measurement, a=1,b=1,e=2, c=1,d=1,f=2 time1
You’d get the following series:
measurement, a=1,b=1,e=2 f=2 time1
measurement, a=1,b=1,e=2, c=1 time1
measurement, a=1,b=1,e=2, d=1 time1
measurement, a=1,b=1,e=2, f=2 time1
But the first and the last one are the same so you’d be overwriting the first point (even if your f field value was different).
So you’d end up with a total of 3 series.
To be precise if you query with Flux,
(I’m assuming you’re using Flux and OSS),
You’d get 3 tables returned for each series which would each graph one line.
does that help?
This might also be useful
Please let me know if my version assumption was wrong
What happens if two threads in the InfluxDB instance write to the storage at exactly the same time? Would this lead to an error or is InfluxDB capable of resolving this?
I would expect one measurement with the fields c,d,e,f set, as the timestamp and all tags are equal.