Mozilla Telemetry New DocType Monitor

Monitors the telemetry stream for new document types and alerts if they meet a volume threshold.

1. Sample Configuration

filename = "moz_telemetry_new_doctype_monitor.lua"
message_matcher = "Type == 'telemetry'"
ticker_interval = 60
preserve_data = true
threshold = 100

-- Maintained in the puppet repository: https://github.com/mozilla-services/puppet-config/blob/master/pipeline/yaml/app/pipeline.yaml#L78
known_doctypes = {
    "idle-daily", "saved-session", "android-anr-report", "ftu", "loop",
    "flash-video", "main", "activation", "deletion", "crash", "uitour-tag",
    "heartbeat", "core", "b2g-installer-device", "b2g-installer-flash",
    "advancedtelemetry", "appusage", "testpilot", "testpilottest",
    "malware-addon-states", "sync", "outofdate-notifications-system-addon",
    "tls-13-study", "shield-study", "shield-study-addon", "shield-study-error",
    "system-addon-deployment-diagnostics", "disableSHA1rollout", "tls-13-study-v1",
    "tls-13-study-v2", "tls-13-study-v3", "tls13-middlebox-repetition",
    "tls13-middlebox-testing", "modules", "certificate-checker",
    "flash-shield-study", "deployment-checker", "anonymous", "focus-event",
    "new-profile", "health", "update", "tls13-middlebox-alt-server-hello-1",
    "first-shutdown", "tls13-middlebox-ghack", "mobile-event",
    "tls13-middlebox-draft22"
}

alert = {
  disabled = false,
  prefix = false,
  threshold = 90,  -- one alert every 90 minutes
  modules = {
    email = {recipients = {"amiyaguchi@mozilla.com"}},
  }
}

source code: moz_telemetry_new_doctype_monitor.lua

results matching ""

    No results matching ""