TelemetryDeck / Issues

When something is wrong in TelemetryDeck-Land, or if you have a cool idea how to make things better, this is the place to create an Issue.
https://telemetrydeck.com
36 stars 0 forks source link

Allow List of Strings as Payload data type #339

Open winsmith opened 7 months ago

winsmith commented 7 months ago

Every now and then we want to send more than just a single value for a payload key. For example, a list of user tags, or of enabled settings.

This can work similarly to the floatValue key, where a specific pre-determined payload key is given a different data type.

Querying this data type will work as druid native, i.e. comparing the property to a string will yield true if the string is one of the values in the list.

blckmn commented 7 months ago

This concept is great, it could be possible to simplify it a little and allow for simple separated tags (perhaps space) that you could use an extract function for the values, and allow grouping counts by those values. That way the clients need not send a different format for a list of strings, as the payload format remains the same.

Another option would be to allow REGEX on the payload key, and allow a group index on that regex to be treated as the value. e.g. TAG_OPTIONA - where you filter by keys starting with TAG, and the value is OPTIONA