wu-sheng opened a new issue, #13639:
URL: https://github.com/apache/skywalking/issues/13639

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar feature requirement.
   
   
   ### Description
   
   With BanyanDB's lifecycle management ready, OAP begins to support 
hot/warm/cold queries.
   UI should follow the TTL config(when cold is present), it should activate 
`cold` condition in the query. UI was using it to limit query range only. 
   
   First of all, the right top button should show `Cold Excluded` and `Cold 
Only`.
   When `Cold Only`, all query should be fired with `cold` flag is TRUE.
   
   - 
https://github.com/apache/skywalking-query-protocol/blob/4fc10625ba72ef4788972b4f7991a535065d609b/common.graphqls#L68
   
   In trace and log, Duration is a part of condition as well
   - Log Query, 
https://github.com/apache/skywalking-query-protocol/blob/4fc10625ba72ef4788972b4f7991a535065d609b/log.graphqls#L74
   - Trace Query, 
https://github.com/apache/skywalking-query-protocol/blob/4fc10625ba72ef4788972b4f7991a535065d609b/trace.graphqls#L42
   - TopN Query, 
https://github.com/apache/skywalking-query-protocol/blob/4fc10625ba72ef4788972b4f7991a535065d609b/top-n-records.graphqls#L31
   - Browser Log Query, 
https://github.com/apache/skywalking-query-protocol/blob/4fc10625ba72ef4788972b4f7991a535065d609b/browser-log.graphqls#L25
   
   Metadata, on-demand logs, and profiling are always hot data, we could keep 
the conditions unchanged.
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request to implement this on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to