Hi Flux-Forum,
While creating a selfmonitoring-dashboard for the influx-instances of a customer, I stumbled across a challenging task.
Because the customer can´t control how much tagValues are written into a measurement-tag, we have to setup some kind of a alerting system, so he gets notified, if someone writes IDs or something like this into the database.
Example Output:
| Measurement | Tag | TagValue Count | | |
|-----------------|-----------|----------------|---|---|
| method_duration | http_path | 32 | | |
| method_duration | message | 30 | | |
| jvm_memory_sum | maschine | 8 | | |
I tryed to play around with the schema-functions, like measurementTagValues(), measurementTagKeys(), and map the output of them down, but I did not get my expected result yet.
Maybe someone could help with this?