Raven (compact) configuration

Here's a full config file for raven-compact, with default values. You should at least provide licenseKey in your own file

Pls check the comments for detailed info about each configuration option

Available versions can be found here: raven-compact, raven-ui

raven:
  # Your Raven licence key
  licenseKey: {YOUR LICENCE KEY}

  # Raven docker images config
  compact:
    image:
      repository: ghcr.io/dragonisle/raven-compact
      tag: {APP_VERSION}
  dashboard:
    image:
      repository: ghcr.io/dragonisle/raven-ui
      tag: {UI_VERSION}
  # Postgres service name, password secret name and key
  # Default value are the ones created by postgres chart
  postgres:
    service: raven-setup-rw
    secret: raven-setup-app
    secretKeyUser: user
    secretKeyPw: password
    secretKeyDb: dbname
  # Clickhouse service name, password secret name and key
  # Default value are the ones created by clickhouse chart

  clickhouse:
  # Clickhouse mode, can be 'cluster' or 'simple', use first if you have more complex setup with zookeeper, second if not
    mode: cluster
    service: clickhouse-raven-clickhouse
#    secret: raven-setup-clickhouse
#    secretKeyUser: username
#    secretKeyPassword: password

  # Redis service name, password secret name and key
  # Default value are the ones created by redis chart
  redis:
    service: raven-setup-redis-master
# uncomment if your redis has a password in secret
#    secret: raven-setup-redis
#    secretKey: redis-password

  # Alert management external outputs config, if some conf is enabled - other fields should be provided as well,
  # ex. for slack - webhookUrl is required
  externalOutputs:
    slack:
      enabled: false
      # https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks/
      webhookUrl: "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
    email:
      enabled: false
      # List of emails to send alerts to
      mails: [ "REPLACE_ME@gmail.com" ]
      # Email from which alerts will be sent (should correspond to email provider allowed domain)
      emailFrom: "raven@yourdomain.com"
      smtpUser: "smtpUser"
      smtpPassword: "smtpPassword"
      smtpHost: "smtpHost"
      smtpPort: 587

  # AI logs aggregation config
  aggregation:
    # Logs will be aggregated per each 'windowTimeRange' period of time
    windowTimeRange: 1 minute
    # Logs can arrive not later than [current timestamp - 'batchMaxRetention'], 
    # after batchMaxRetention - batch is finalised
    batchMaxRetention: 3 minutes
    # Real-time data drift alerts reference period
    dataDriftReferencePeriod: 1 hour

  # Alerts triggering thresholds and coefficients
  aiAlerts:
    # Single log alerting thresholds
    singleLog:
      confidenceThreshold: 0.7
      responseTimeThreshold: 500 milliseconds
    aggregatedLogs:
      # Aggregated logs mean values alerting thresholds
      confidenceThreshold: 0.8
      responseTimeThreshold: 400 milliseconds
      eventAmountThresholdCoeff: 0.5
      # Data drift alerting thresholds
      drift:
        zScoreThreshold: 3.0
        deltaMeanThreshold: 0.2
        jsDivergenceThreshold: 0.05