Time series of "new instances" by week: Filter for uuids never seen in the past

I have a metric involving UUIDs. Every week a number of UUIDs is stored as tag to a measurement in an influxDB. These measurements come multiple times a day with the UUID attached. Think of the UUID as a sensor same und I want to know how many sensors have been added this week to the hole number of sensors.

Now I want to know the number of new (=never seen before) UUIDs per week.
Can someone point me in the direction how to begin such a filter, I guess its something like

  • group by time
  • for each group the content has to be compared to the past data if seen before

Hi @gruenewaldclemens

Are you using InfluxQL or Flux?

How many tags do you anticipate getting created over time? 1 per week?