mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-09 15:13:00 +03:00
* Add analytics opt-in setting, prompt notice kind, and notice watermarks * Add the analytics report schema * Add the analytics state file * Add the install and hardware analytics collectors * Add the detection analytics collector * Add the cameras analytics collector * Add the features analytics collector * Add the health analytics collector * Build analytics reports from the section collectors * Add the analytics report transport * Send the daily analytics report from the main process * Add the analytics preview API * Generate the analytics schema and check it in CI * Record the image variant in each Dockerfile * Show the analytics preview in telemetry settings * Document anonymous analytics * change wording * fixes * update network requirements docs * adapt analytics to free-form model scenes, split notice counts, and peewee 4 * fixes * change log levels * docstrings * docstrings * honor file-only analytics opt-outs and skip pre-consent notices An opt-out saved through the YAML editor's "Save only" or a hand edit never reached the live config, so reports kept going out under the old install ID until a restart. The reporter now reads telemetry.analytics from the config file when a report is due, validated with TelemetryConfig so yes, on, and 1 still count as consent, and an opt-out there deletes the state file and skips the send. The first report under a new install ID also carried every notice since the counters started, including ones from before the opt-in, so a fresh state file now resets the notice watermarks before the report's snapshot. * take the notice baseline at opt-in instead of the first send The watermark reset ran at the first send attempt, so notices raised between the opt-in and that send, up to 45 minutes after a startup, were absorbed into the reset and never reported. The reporter now writes the new install ID and resets the watermarks as soon as it sees consent without a state file. * report notice counts cumulatively from a database baseline Moving watermarks after each accepted send kept the install ID and the notice baseline out of step: pre-consent notices went out, notices raised before the first send were dropped, and a send that finished after an off/on toggle overwrote the new identity's baseline. health.notices now carries cumulative counts since the install ID was created. Creating an ID copies the lifetime counts into the existing reported_* columns before the state file names it, and nothing is written after a send, so the backend diffs consecutive reports per install ID. * write held notice repeats before the analytics baseline reset Repeats of batched kinds like failed_login wait in memory until the stats emitter flushes them, so a baseline reset taken while some were held left them out, and the next flush counted those pre-opt-in repeats as post-consent. The reset now writes held repeats to the notice history under the same lock before copying the counts. * seed detector inference speed from the first inference The average started at 0 so idle detectors read 0, but that made every detector's speed climb from 0 for its first couple dozen inferences after a start. Detectors now use the same InferenceSpeed helper as enrichments, so the first inference seeds the average and idle detectors still read 0.
381 lines
16 KiB
JSON
381 lines
16 KiB
JSON
{
|
|
"documentTitle": {
|
|
"cameras": "Cameras Stats - Frigate",
|
|
"storage": "Storage Stats - Frigate",
|
|
"general": "General Stats - Frigate",
|
|
"enrichments": "Enrichments Stats - Frigate",
|
|
"logs": {
|
|
"frigate": "Frigate Logs - Frigate",
|
|
"go2rtc": "Go2RTC Logs - Frigate",
|
|
"nginx": "Nginx Logs - Frigate",
|
|
"websocket": "Messages Logs - Frigate"
|
|
},
|
|
"health": "Health - Frigate"
|
|
},
|
|
"title": "System",
|
|
"metrics": "System metrics",
|
|
"showAllTabs": "Show all tabs",
|
|
"showLessTabs": "Show less",
|
|
"health": {
|
|
"title": "Health",
|
|
"notices": {
|
|
"title": "Notices",
|
|
"empty": "Your Frigate installation is healthy",
|
|
"acknowledge": "Acknowledge",
|
|
"acknowledgeHint": "Hide until this happens again",
|
|
"mute": "Mute",
|
|
"muteHint": "Never show this again",
|
|
"unmute": "Unmute",
|
|
"showAgain": "Show again",
|
|
"openSettings": "Open settings",
|
|
"openLink": "Open link",
|
|
"noMatches": "No notices match the filter",
|
|
"hiddenTitle": "Hidden",
|
|
"noneHidden": "No hidden notices",
|
|
"showAll": "Show all again",
|
|
"showAllTitle": "Show all hidden notices?",
|
|
"showAllDesc": "Every acknowledged and muted notice returns to the Notices list, including config and stream checks.",
|
|
"occurred_one": "Occurred {{time}}",
|
|
"occurred_other": "Last occurred {{lastTime}} · {{count}} times since {{time}}",
|
|
"acknowledgedAt": "Acknowledged {{time}}",
|
|
"mutedAt": "Muted {{time}}",
|
|
"filter": {
|
|
"showHidden": "Show hidden",
|
|
"severity": "Severity",
|
|
"error": "Error",
|
|
"warning": "Warning",
|
|
"info": "Info"
|
|
},
|
|
"kinds": {
|
|
"detector_stuck": "Detector {{detector}} was restarted after it stopped responding",
|
|
"model_download_failed": "Downloading {{file}} for {{model}} failed: {{error}}",
|
|
"skipped_detections": "Detection could not keep up and skipped {{pct}}% of frames for over a minute",
|
|
"ffmpeg_high_cpu": "FFmpeg CPU usage is high ({{cpu}}% average)",
|
|
"detect_high_cpu": "Detection CPU usage is high ({{cpu}}% average)",
|
|
"shm_too_low": "/dev/shm allocation ({{total}} MB) should be increased to at least {{min}} MB",
|
|
"object_processing_behind": "Tracked object processing could not keep up, so camera frames were dropped. Check CPU utilization, and whether CPU limits or pinning on the container or VM are leaving Frigate too little CPU",
|
|
"failed_login_one": "Failed login attempt for {{user}}",
|
|
"failed_login_other": "Failed login attempts for {{user}}",
|
|
"update_available": "Frigate {{version}} is available",
|
|
"analytics_prompt": "Consider sharing anonymous usage statistics to help the developers improve Frigate"
|
|
},
|
|
"streamPrefix": "Stream {{index}}: {{message}}",
|
|
"streamPrefixRestream": "Stream {{index}} (via go2rtc): {{message}}",
|
|
"streamProbeFailed": "Stream {{index}} could not be probed: {{error}}",
|
|
"cameraProbeFailed": "Streams could not be probed: {{error}}"
|
|
},
|
|
"hardware": {
|
|
"title": "Hardware",
|
|
"objectDetection": "Object detection",
|
|
"hardwareAcceleration": "Hardware acceleration",
|
|
"enrichments": {
|
|
"title": "Enrichments",
|
|
"semantic_search": "Semantic search",
|
|
"face_recognition": "Face recognition",
|
|
"lpr": "License plate recognition",
|
|
"audio_transcription": "Audio transcription"
|
|
},
|
|
"cameraConnections": "Camera connections",
|
|
"allCamerasExcellent": "All cameras have an excellent connection.",
|
|
"fps": "{{camera}} / {{expected}} fps",
|
|
"nothingConfigured": "Nothing configured",
|
|
"allCameras": "All cameras",
|
|
"probeUnavailable": "Hardware detection is unavailable",
|
|
"justStarted": "Frigate just started",
|
|
"deviceNotFound": "{{devices}} was not found on this system",
|
|
"detectorNotRunning": "Detector process is not running",
|
|
"inferenceVerySlow": "Inference is very slow ({{speed}} ms)",
|
|
"inferenceSlow": "Inference is slow ({{speed}} ms)",
|
|
"inferenceMs": "{{speed}} ms",
|
|
"customArgs": "Custom ffmpeg arguments",
|
|
"customArgsNotVerified": "Custom ffmpeg arguments, not verified",
|
|
"hwaccelNotConfigured": "No hardware decoding is in use, but {{family}} is available. Select it in the ffmpeg settings",
|
|
"hwaccelHardwareMissing": "{{family}} is configured, but the hardware probe did not report it",
|
|
"unrecognizedDevice": "Unrecognized device override, not verified",
|
|
"decoderUsage": "decoder {{usage}}",
|
|
"remoteProvider": "Remote provider",
|
|
"acceleratorMissing": "Configured for {{device}} but no compatible accelerator was found",
|
|
"modelNotRunYet": "Model has not run yet, the device is verified after first use",
|
|
"fellBackToCpu": "Configured for {{device}} but running on the CPU",
|
|
"cpuDespiteAccelerator": "Running on the CPU although an accelerator is available",
|
|
"probed": "Probed",
|
|
"probing": "Probing...",
|
|
"recheck": "Re-check hardware",
|
|
"cameraStreams": "Camera streams",
|
|
"streamsNotChecked": "Not checked yet",
|
|
"streamsChecking": "Checking {{done}} of {{total}}",
|
|
"streamsClean": "No stream problems",
|
|
"checked": "Checked",
|
|
"runAgain": "Run again",
|
|
"runStreamChecks": "Run stream checks",
|
|
"streamsChecked_one": "{{count}} camera checked",
|
|
"streamsChecked_other": "{{count}} cameras checked",
|
|
"streamsFlagged_one": "{{count}} with problems, listed under Notices",
|
|
"streamsFlagged_other": "{{count}} with problems, listed under Notices"
|
|
}
|
|
},
|
|
"logs": {
|
|
"websocket": {
|
|
"label": "Messages",
|
|
"pause": "Pause",
|
|
"resume": "Resume",
|
|
"clear": "Clear",
|
|
"filter": {
|
|
"all": "All topics",
|
|
"topics": "Topics",
|
|
"events": "Events",
|
|
"reviews": "Reviews",
|
|
"classification": "Classification",
|
|
"face_recognition": "Face Recognition",
|
|
"lpr": "LPR",
|
|
"camera_activity": "Camera activity",
|
|
"system": "System",
|
|
"camera": "Camera",
|
|
"all_cameras": "All cameras",
|
|
"cameras_count_one": "{{count}} Camera",
|
|
"cameras_count_other": "{{count}} Cameras"
|
|
},
|
|
"empty": "No messages captured yet",
|
|
"count_one": "{{count}} message",
|
|
"count_other": "{{count}} messages",
|
|
"expanded": {
|
|
"payload": "Payload"
|
|
}
|
|
},
|
|
"download": {
|
|
"label": "Download Logs"
|
|
},
|
|
"copy": {
|
|
"label": "Copy to Clipboard",
|
|
"success": "Copied logs to clipboard",
|
|
"error": "Could not copy logs to clipboard"
|
|
},
|
|
"type": {
|
|
"label": "Type",
|
|
"timestamp": "Timestamp",
|
|
"tag": "Tag",
|
|
"message": "Message"
|
|
},
|
|
"tips": "Logs are streaming from the server",
|
|
"toast": {
|
|
"error": {
|
|
"fetchingLogsFailed": "Error fetching logs: {{errorMessage}}",
|
|
"whileStreamingLogs": "Error while streaming logs: {{errorMessage}}"
|
|
}
|
|
}
|
|
},
|
|
"general": {
|
|
"title": "General",
|
|
"detector": {
|
|
"title": "Detectors",
|
|
"inferenceSpeed": "Detector Inference Speed",
|
|
"temperature": "Detector Temperature",
|
|
"cpuUsage": "Detector CPU Usage",
|
|
"cpuUsageInformation": "CPU used in preparing input and output data to/from detection models. This value does not measure inference usage, even if using a GPU or accelerator.",
|
|
"memoryUsage": "Detector Memory Usage"
|
|
},
|
|
"hardwareInfo": {
|
|
"title": "Hardware Info",
|
|
"gpuUsage": "GPU Usage",
|
|
"gpuMemory": "GPU Memory",
|
|
"gpuEncoder": "GPU Encoder",
|
|
"gpuCompute": "GPU Compute / Encode",
|
|
"gpuDecoder": "GPU Decoder",
|
|
"gpuTemperature": "GPU Temperature",
|
|
"gpuInfo": {
|
|
"vainfoOutput": {
|
|
"title": "Vainfo Output",
|
|
"returnCode": "Return Code: {{code}}",
|
|
"processOutput": "Process Output:",
|
|
"processError": "Process Error:"
|
|
},
|
|
"nvidiaSMIOutput": {
|
|
"title": "Nvidia SMI Output",
|
|
"name": "Name: {{name}}",
|
|
"driver": "Driver: {{driver}}",
|
|
"cudaComputerCapability": "CUDA Compute Capability: {{cuda_compute}}",
|
|
"vbios": "VBios Info: {{vbios}}"
|
|
},
|
|
"closeInfo": {
|
|
"label": "Close GPU info"
|
|
},
|
|
"copyInfo": {
|
|
"label": "Copy GPU info"
|
|
},
|
|
"toast": {
|
|
"success": "Copied GPU info to clipboard"
|
|
}
|
|
},
|
|
"npuUsage": "NPU Usage",
|
|
"npuMemory": "NPU Memory",
|
|
"npuTemperature": "NPU Temperature"
|
|
},
|
|
"otherProcesses": {
|
|
"title": "Other Processes",
|
|
"processCpuUsage": "Process CPU Usage",
|
|
"processMemoryUsage": "Process Memory Usage",
|
|
"series": {
|
|
"go2rtc": "go2rtc",
|
|
"recording": "recording",
|
|
"review_segment": "review segment",
|
|
"embeddings": "embeddings",
|
|
"audio_detector": "audio detector"
|
|
}
|
|
}
|
|
},
|
|
"storage": {
|
|
"title": "Storage",
|
|
"overview": "Overview",
|
|
"recordings": {
|
|
"title": "Recordings",
|
|
"tips": "This value represents the total storage used by the recordings in Frigate's database. Frigate does not track storage usage for all files on your disk.",
|
|
"earliestRecording": "Earliest recording available:"
|
|
},
|
|
"shm": {
|
|
"title": "SHM (shared memory) allocation",
|
|
"warning": "The current SHM size of {{total}}MB is too small. Increase it to at least {{min_shm}}MB.",
|
|
"frameLifetime": {
|
|
"title": "Frame lifetime",
|
|
"description": "Each camera has {{frames}} frame slots in shared memory. At the fastest camera's frame rate, each frame is available for approximately {{lifetime}}s before being overwritten."
|
|
}
|
|
},
|
|
"cameraStorage": {
|
|
"title": "Camera Storage",
|
|
"camera": "Camera",
|
|
"unusedStorageInformation": "Unused Storage Information",
|
|
"storageUsed": "Storage",
|
|
"percentageOfTotalUsed": "Percentage of Total",
|
|
"bandwidth": "Bandwidth",
|
|
"unused": {
|
|
"title": "Unused",
|
|
"tips": "This value may not accurately represent the free space available to Frigate if you have other files stored on your drive beyond Frigate's recordings. Frigate does not track storage usage outside of its recordings."
|
|
},
|
|
"subStream": {
|
|
"information": "Sub Stream Storage Information",
|
|
"tips": "Cameras that record a sub stream show their Original and Low quality usage separately, using the same names as the quality options in recording playback. Low quality recordings stay on disk until their retention period expires, so this breakdown can still appear for a camera after sub stream recording has been turned off."
|
|
}
|
|
}
|
|
},
|
|
"cameras": {
|
|
"title": "Cameras",
|
|
"overview": "Overview",
|
|
"info": {
|
|
"aspectRatio": "aspect ratio",
|
|
"cameraProbeInfo": "{{camera}} Camera Probe Info",
|
|
"streamDataFromFFPROBE": "Stream data is obtained with <code>ffprobe</code>.",
|
|
"fetching": "Fetching Camera Data",
|
|
"stream": "Stream {{idx}}",
|
|
"video": "Video:",
|
|
"codec": "Codec:",
|
|
"resolution": "Resolution:",
|
|
"fps": "FPS:",
|
|
"unknown": "Unknown",
|
|
"audio": "Audio:",
|
|
"error": "Error: {{error}}",
|
|
"tips": {
|
|
"title": "Camera Probe Info"
|
|
},
|
|
"keyframes": {
|
|
"title": "Keyframe analysis",
|
|
"analyzing": "Analyzing keyframes... {{seconds}} seconds remaining",
|
|
"stillAnalyzing": "Still analyzing keyframes...",
|
|
"recordStream": "Record stream:",
|
|
"keyframeCount": "Keyframes observed:",
|
|
"observedDuration": "Observed duration:",
|
|
"gap": "Keyframe gap (min / avg / max):",
|
|
"segmentLength": "Recording segment length:",
|
|
"ok": "Keyframes every ~{{seconds}}s, good for recording and playback.",
|
|
"warningFixed": "Keyframes are evenly spaced but sparse (every ~{{seconds}}s). Recording still works, but live playback and seeking start more slowly. Set the camera's I-frame (keyframe) interval to match its frame rate.",
|
|
"warningVariable": "Keyframe spacing is inconsistent ({{minSeconds}}s to {{maxSeconds}}s), which usually means a smart codec (H.264+/H.265+) is enabled. This is not recommended.",
|
|
"errorFixed": "Keyframes every ~{{seconds}}s is longer than the recording segment length ({{segmentTime}}s), so some segments have no keyframe and will not play back. Shorten the camera's I-frame (keyframe) interval to match its frame rate.",
|
|
"errorVariable": "Keyframe gaps reach ~{{seconds}}s, longer than the recording segment length ({{segmentTime}}s). Some segments will have no keyframe, which breaks playback. Disable the smart/+ codec on the camera or shorten its keyframe interval.",
|
|
"unknown": "Couldn't determine keyframe spacing.",
|
|
"recordDisabled": "Recording is disabled for this camera."
|
|
}
|
|
},
|
|
"framesAndDetections": "Frames / Detections",
|
|
"noCameras": {
|
|
"title": "No Cameras Found"
|
|
},
|
|
"label": {
|
|
"camera": "camera",
|
|
"detect": "detect",
|
|
"skipped": "skipped",
|
|
"ffmpeg": "FFmpeg",
|
|
"capture": "capture",
|
|
"overallFramesPerSecond": "overall frames per second",
|
|
"overallDetectionsPerSecond": "overall detections per second",
|
|
"overallSkippedDetectionsPerSecond": "overall skipped detections per second",
|
|
"cameraFfmpeg": "{{camName}} FFmpeg",
|
|
"cameraCapture": "{{camName}} capture",
|
|
"cameraDetect": "{{camName}} detect",
|
|
"cameraGpu": "{{camName}} GPU",
|
|
"cameraFramesPerSecond": "{{camName}} frames per second",
|
|
"cameraDetectionsPerSecond": "{{camName}} detections per second",
|
|
"cameraSkippedDetectionsPerSecond": "{{camName}} skipped detections per second"
|
|
},
|
|
"connectionQuality": {
|
|
"title": "Connection Quality",
|
|
"excellent": "Excellent",
|
|
"fair": "Fair",
|
|
"poor": "Poor",
|
|
"unusable": "Unusable",
|
|
"fps": "FPS",
|
|
"expectedFps": "Expected FPS",
|
|
"reconnectsLastHour": "Reconnects (last hour)",
|
|
"stallsLastHour": "Stalls (last hour)"
|
|
},
|
|
"toast": {
|
|
"success": {
|
|
"copyToClipboard": "Copied probe data to clipboard."
|
|
},
|
|
"error": {
|
|
"unableToProbeCamera": "Unable to probe camera: {{errorMessage}}"
|
|
}
|
|
}
|
|
},
|
|
"lastRefreshed": "Last refreshed: ",
|
|
"stats": {
|
|
"cameraSkippedDetections": "{{camera}} is skipping detection on {{pct}}% of frames",
|
|
"healthy": "System is healthy",
|
|
"systemNotices_one": "{{count}} system notice",
|
|
"systemNotices_other": "{{count}} system notices",
|
|
"moreMessages_one": "+{{count}}",
|
|
"moreMessages_other": "+{{count}}",
|
|
"reindexingEmbeddings": "Reindexing embeddings ({{processed}}% complete)",
|
|
"reindexEmbeddingsFailed": "Reindexing embeddings failed, check the logs",
|
|
"cameraIsOffline": "{{camera}} is offline",
|
|
"detectIsSlow": "{{detect}} is slow ({{speed}} ms)",
|
|
"detectIsVerySlow": "{{detect}} is very slow ({{speed}} ms)",
|
|
"retentionUnmet": "Recordings are being deleted before their retention period ends to free space",
|
|
"debugReplayActive": "Debug replay session is active"
|
|
},
|
|
"enrichments": {
|
|
"title": "Enrichments",
|
|
"infPerSecond": "Inferences Per Second",
|
|
"averageInf": "Average Inference Time",
|
|
"embeddings": {
|
|
"image_embedding": "Image Embedding",
|
|
"text_embedding": "Text Embedding",
|
|
"face_recognition": "Face Recognition",
|
|
"plate_recognition": "Plate Recognition",
|
|
"image_embedding_speed": "Image Embedding Speed",
|
|
"face_embedding_speed": "Face Embedding Speed",
|
|
"face_recognition_speed": "Face Recognition Speed",
|
|
"plate_recognition_speed": "Plate Recognition Speed",
|
|
"text_embedding_speed": "Text Embedding Speed",
|
|
"yolov9_plate_detection_speed": "YOLOv9 Plate Detection Speed",
|
|
"yolov9_plate_detection": "YOLOv9 Plate Detection",
|
|
"review_description": "Review Description",
|
|
"review_description_speed": "Review Description Speed",
|
|
"review_description_events_per_second": "Review Description",
|
|
"object_description": "Object Description",
|
|
"object_description_speed": "Object Description Speed",
|
|
"object_description_events_per_second": "Object Description",
|
|
"classification": "{{name}} Classification",
|
|
"classification_speed": "{{name}} Classification Speed",
|
|
"classification_events_per_second": "{{name}} Classification Events Per Second"
|
|
}
|
|
}
|
|
}
|