You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/01/17 03:11:20 UTC

[GitHub] [skywalking] dmsolr commented on a change in pull request #4236: Optimize the elasticsearch-based query interface provided to UI

dmsolr commented on a change in pull request #4236: Optimize the elasticsearch-based query interface provided to UI
URL: https://github.com/apache/skywalking/pull/4236#discussion_r367751274
 
 

 ##########
 File path: oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/DurationUtils.java
 ##########
 @@ -216,4 +216,59 @@ private DateTime parseToDateTime(Downsampling downsampling, long time) throws Pa
 
         return dateTime;
     }
+
+    public long convertBucketTotIimestamp(boolean isStart, long bucket) throws ParseException {
 
 Review comment:
   I have the same requirement. Need to convert the TB to Timestamp to make InfluxDB RelentationPolicy work.
   
   https://github.com/apache/skywalking/blob/484e078399f90e2b11d9bc16a83c76bbc1d4921b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/TimeBucket.java#L53-L67

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services