You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/03/11 22:08:33 UTC

[GitHub] [incubator-pinot] akshayrai commented on a change in pull request #5142: [TE] Detection creation endpoints should trigger Replay & Tuning

akshayrai commented on a change in pull request #5142: [TE] Detection creation endpoints should trigger Replay & Tuning
URL: https://github.com/apache/incubator-pinot/pull/5142#discussion_r391295289
 
 

 ##########
 File path: thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlResource.java
 ##########
 @@ -380,6 +380,9 @@ long createDetectionConfig(@NotNull String payload, long startTime, long endTime
     Long id = this.detectionConfigDAO.save(detectionConfig);
     Preconditions.checkNotNull(id, "Error while saving the detection pipeline");
 
+    // create an yaml onboarding task to run replay and tuning
+    createYamlOnboardingTask(detectionConfig.getId(), startTime, endTime);
 
 Review comment:
   The onboarding jobs complete within half a minute on an average case and I don't think it should be a problem. In addition, I am not sure if bulk-onboarding of alerts is a common use-case or whether we should even encourage such use-cases except for some special cases like "onboard all UMP metrics" in which case we should anyways take precaution. Alerts are typically created by users on various portals and the throughput(requests/sec) is typically not that high.

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org