promql-engine icon indicating copy to clipboard operation
promql-engine copied to clipboard

*: add possibility to add fanout metadata

Open GiedriusS opened this issue 1 year ago • 2 comments
trafficstars

Add a mechanism for adding fanout metadata. This will allow surfacing data that so far is only available in traces and/or logs.

GiedriusS avatar Oct 03 '24 09:10 GiedriusS

On second thought, couldnt this be implemented completely in thanos? As in "create context, add stuff during select, read out in api and add to analysis" kinda way? If we made sure to use same context for "Select" that was used to create the query? Kinda like we already pass warnings for partial response.

How will you attach select metadata to individual operators?

GiedriusS avatar Dec 17 '24 07:12 GiedriusS

On second thought, couldnt this be implemented completely in thanos? As in "create context, add stuff during select, read out in api and add to analysis" kinda way? If we made sure to use same context for "Select" that was used to create the query? Kinda like we already pass warnings for partial response.

How will you attach select metadata to individual operators?

Mh yeah that would not be possible; but then again if its only for fanout there is only vector/matrix selector that do fanout anyway. But for more general metadata thats not possible yeah.

MichaHoffmann avatar Jan 03 '25 19:01 MichaHoffmann