apucher commented on a change in pull request #5961:
URL: https://github.com/apache/incubator-pinot/pull/5961#discussion_r482256834



##########
File path: kubernetes/helm/thirdeye/templates/common/configmap.yaml
##########
@@ -0,0 +1,252 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: thirdeye-pinot-quickstart-datasource-config
+data:
+  persistence.yml: |-
+    databaseConfiguration:
+      url: jdbc:mysql://{{ .Release.Name }}-mysql/thirdeye
+      user: {{ .Values.mysql.mysqlUser }}
+      password: {{ .Values.mysql.mysqlPassword }}
+      driver: com.mysql.jdbc.Driver
+  dashboard.yml: |-
+    authConfig:
+      authEnabled: false
+      authKey: ""
+      ldapUrl: ""
+      domainSuffix: []
+      cacheTTL: 3600
+      cookieTTL: 604800
+    resourceConfig: []
+    rootCause:
+      definitionsPath: rca.yml
+      parallelism: 5
+      formatters:
+        - 
org.apache.pinot.thirdeye.dashboard.resources.v2.rootcause.AnomalyEventFormatter
+        - 
org.apache.pinot.thirdeye.dashboard.resources.v2.rootcause.ThirdEyeEventFormatter
+        - 
org.apache.pinot.thirdeye.dashboard.resources.v2.rootcause.MetricEntityFormatter
+        - 
org.apache.pinot.thirdeye.dashboard.resources.v2.rootcause.DimensionEntityFormatter
+        - 
org.apache.pinot.thirdeye.dashboard.resources.v2.rootcause.ServiceEntityFormatter
+        - 
org.apache.pinot.thirdeye.dashboard.resources.v2.rootcause.DefaultEventEntityFormatter
+    dashboardHost: "http://localhost:1426";
+    failureFromAddress: thirdeye@localhost
+    failureToAddress: user@localhost
+    alerterConfiguration:
+      smtpConfiguration:
+        smtpHost: localhost
+        smtpPort: 25
+    logging:
+      level: INFO
+      loggers:
+        org.apache.pinot: INFO
+
+    server:
+      type: default
+      applicationConnectors:
+        - type: http
+          port: 1426
+      adminConnectors:
+        - type: http
+          port: 1427
+      requestLog:
+        type: external
+    whitelistDatasets: []
+    swagger:
+      resourcePackage: 
"org.apache.pinot.thirdeye.dashboard.resources,org.apache.pinot.thirdeye.dashboard.resources.v2,org.apache.pinot.thirdeye.anomaly.onboard,org.apache.pinot.thirdeye.detection,org.apache.pinot.thirdeye.detection.yaml"
+
+  detector.yml: |-
+    logging:
+      level: INFO
+      loggers:
+        org.hibernate.engine.internal: WARN
+    server:
+      type: default
+      rootPath: '/api/*'
+      applicationContextPath: /
+      adminContextPath: /admin
+      applicationConnectors:
+        - type: http
+          port: 1867
+      adminConnectors:
+        - type: http
+          port: 1868
+    alert: false
+    autoload: true
+    # autoOnboardConfiguration:
+    #   runFrequency: 10s
+
+    classifier: false

Review comment:
       We'll need separate "detector.yml" files for the **scheduler backend** 
and regular **worker backends**. Scheduler can be a worker too, but there can 
only be one scheduler active at a time.
   
   **Scheduler**
   alert: true
   autoload: true
   classifier: true
   holidayEventsLoader: true
   monitor: true
   scheduler: true
   worker: true/false (should be configurable)
   detectionPipeline: true
   detectionAlert: true
   mockEventsLoader: true/false (should be configurable)
   
   **Worker**
   alert: false
   autoload: false
   classifier: false
   holidayEventsLoader: false
   monitor: false
   scheduler: false
   worker: true
   detectionPipeline: false
   detectionAlert: false
   mockEventsLoader: false




----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to