OPENTELEMETRY

Fleet Health
Monitoring

Chronos can push health metrics (numbers only, no captured content) to a monitoring backend that you choose. It is off until you set an endpoint (the installer also needs TELEMETRY_ENABLED=1).

57
Metrics
60s
Export Interval
OTLP/HTTP
Protocol
01

Overview

Chronos pushes OpenTelemetry metrics over OTLP/HTTP (protobuf) to one URL that you configure, so you can see from a dashboard whether each device is alive, capturing and uploading. Nothing is sent to Uniphore by default; metrics go only to the URL you enter.

chronos.exe  --OTLP/HTTP, protobuf, every 60 s-->  <your endpoint>/v1/metrics
  • Push over HTTP(S): devices behind NAT and firewalls need no inbound access.
  • One URL plus an optional auth header. There is no gRPC.
  • Chronos appends /v1/metrics to the URL unless it already ends with it.
  • If the endpoint is unreachable, recording is unaffected. A failed export is dropped and the next one carries the correct running totals.
02

Enabling Telemetry

Command-line flags
FlagEnvironment variableMeaning
--telemetry-endpoint <url>CHRONOS_TELEMETRY_ENDPOINTBase URL. Telemetry runs only if this is set and --disable-telemetry is not.
--telemetry-headers <k=v,...>CHRONOS_TELEMETRY_HEADERSExtra request headers such as an auth header, in the OTEL_EXPORTER_OTLP_HEADERS format. Prefer the environment variable so the value stays out of process listings.
--telemetry-include-hostnameAdds the computer name (host.name) to every series. Off by default.
--disable-telemetryKill switch. Wins over everything, even a configured endpoint.
chronos.exe --telemetry-endpoint https://collector.corp:4318

A malformed URL or unparseable header turns telemetry off with an error in the log. Recording always starts.

Silent install / Intune properties
PropertyValuesNotes
TELEMETRY_ENABLED0 / 11 turns metrics on and needs TELEMETRY_ENDPOINT too. Carries across upgrades if not repeated; an explicit 0 turns it off.
TELEMETRY_ENDPOINTbase URLNot a secret. Carries across upgrades.
TELEMETRY_INCLUDE_HOSTNAME0 / 1Default 0. Carries across upgrades.
TELEMETRY_HEADERSName=value,...A secret. Deliver it in the secrets file (below) rather than on the command line.
chronos-X.X.X-setup-enterprise.exe /install /quiet /norestart ^
  TELEMETRY_ENABLED=1 TELEMETRY_ENDPOINT=https://collector.corp:4318 ^
  CLOUD_SECRETS_FILE=C:\pkg\chronos-cloud.json
!
Keep the auth header off the command line. Command lines are visible in Intune, Defender and event 4688 logs, and the installer's own log prints them verbatim. Put the header in the secrets file as the TelemetryHeaders field, or use a CHRONOSENC1: token. The header is encrypted with Windows DPAPI (machine scope) on the device and handed to the recorder through its environment, never as an argument.
{
  "TelemetryHeaders": "Authorization=Basic <base64(user:token)>"
}
Setup wizard

Choose the Custom install; the Monitoring page comes after the Cloud page. A fresh Typical install leaves telemetry off; a Typical upgrade keeps the existing settings.

FieldMeaning
send health metrics (opentelemetry)The master switch. Unticked means nothing is sent.
endpoint (base url)An absolute http or https URL. Plain http shows a warning but does not block.
auth header (optional)Name=value. Stored DPAPI-encrypted, never logged.
include computer nameAdds the Windows computer name to every series. Leave it off if computers are named after people.
test connectionSends an empty request to the endpoint and reports reachable, reachable with a check-auth-header hint, or the error.

Use https:// where you can. Plain http:// works, but the metrics and the auth header then travel unencrypted.

03

Backends

If you do not know what to use, deploy an OpenTelemetry Collector: chronos only ever talks to it, and it forwards to whatever you run. Not every row has been tested.

BackendEndpoint to give chronosAuth header
Prometheus 3.xhttps://prom.corp:9090/api/v1/otlpwhatever your reverse proxy needs; start Prometheus with --web.enable-otlp-receiver, or every push is rejected. The dashboard's group filter reads target_info, so keep it queryable
Grafana Cloudhttps://otlp-gateway-prod-<region>.grafana.net/otlpAuthorization=Basic <base64(instanceId:token)>
Grafana Alloy / OpenTelemetry Collectorhttps://collector.corp:4318optional
Datadoghttp://<datadog-agent>:4318none
New Relichttps://otlp.nr-data.netapi-key=<license key>
Honeycombhttps://api.honeycomb.iox-honeycomb-team=<key>
OpenShift / ROSA, AWS, Azurethrough a Collector with a TLS route or load balancer in frontAuthorization=Bearer <token>

Prometheus names: dots become underscores, the unit becomes a suffix (_seconds, _bytes, _ratio) and counters get _total. The device ID (service.instance.id) becomes the instance label.

04

Metrics

Every metric is sent when telemetry is on; there is no detailed tier. The Role column is documentation only: core metrics drive the dashboards and alerts, diagnostic metrics explain why during an investigation. Values are exported every 60 seconds (cumulative). Expand a group for its table.

Process and fleet (11)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.upchronos_upgauge--core1 while chronos is running. A missing series means the device is silent.
chronos.build.infochronos_build_infogauge-versioncoreAlways 1; the version attribute carries the build, for version distribution.
chronos.process.start_timechronos_process_start_time_secondsgauges-coreUnix time the process started. changes() gives the restart count.
process.cpu.utilizationprocess_cpu_utilization_ratiogauge1-diagnosticCPU use of the chronos process, 0-1 of all cores.
process.memory.usageprocess_memory_usage_bytesgaugeBy-diagnosticResident memory of the chronos process (its working set). It drops when Windows pages memory out, so it can look flat or falling while the process keeps allocating; use chronos.process.memory.allocated to watch for growth.
chronos.process.memory.allocatedchronos_process_memory_allocated_bytesgaugeBy-diagnosticMemory the chronos process has allocated, in RAM or paged to disk (Windows private bytes); unlike process.memory.usage it does not drop when Windows pages memory out. Counts chronos.exe only, not its ffmpeg children. Read every 30 seconds. Windows only; absent on other platforms.
chronos.system.memory.allocatedchronos_system_memory_allocated_bytesgaugeBy-diagnosticMemory all processes on the machine have allocated, in RAM or paged to disk (the Windows commit charge). Read every 30 seconds. Windows only; absent on other platforms.
chronos.system.memory.allocation_limitchronos_system_memory_allocation_limit_bytesgaugeBy-diagnosticThe most the machine can allocate before allocations start to fail: RAM plus the page file (the Windows commit limit). It grows if Windows enlarges the page file. allocated / allocation_limit near 1 means any process, chronos included, may fail to allocate. Windows only; absent on other platforms.
chronos.process.unclean_exitschronos_process_unclean_exits_totalcounter-exit_kindcoreEarlier runs that ended without a clean shutdown, counted once when the next run starts (so it arrives with the restarted recorder). exit_kind is panic (a panic was recorded before the run ended) or terminated (killed or aborted with no panic, for example Task Manager or taskkill /F). A clean stop, a config restart, a reboot (a different boot is never counted) and a stop by stop-chronos.ps1 (its stop-requested marker in the data directory is newer than the stopped run's start) are not counted. A sign-out or shutdown that does not reach the recorder as a console event (not verified on real machines; with Fast Startup on, a shutdown may not change the boot time either) can read as terminated, about once per device per day at most.
chronos.runtime.stalledchronos_runtime_stalledgauge-runtimecore1 when the tokio runtime is wedged (the local API would not answer).
chronos.log.eventschronos_log_events_totalcounter-level, targetdiagnosticWarn and error log events per module. Only the level and module name are counted; the message is never read.
Storage (2)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.disk.freechronos_disk_free_bytesgaugeBy-coreFree space on the volume holding the data directory.
chronos.db.sizechronos_db_size_bytesgaugeBy-diagnosticSize of db.sqlite plus its write-ahead log.
Recording state (9)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.recording.modechronos_recording_modegauge-modecoreOne series per mode (recording, paused); 1 for the current one. Outside the observation window the mode is paused too; use chronos.recording.state to tell a user pause from the schedule.
chronos.recording.statechronos_recording_stategauge-statecoreOne series per state; 1 for the current one. recording; paused_by_user (a pause the user chose, including one made after starting early inside a blocked period, or with no window configured); off_by_schedule (the schedule paused it: outside today's hours, before the start date, after the end date, or a misconfigured window). The mode wins over the schedule: a recorder the user started early (before the start date or outside today's hours) is recording, and only a pause is split between paused_by_user and off_by_schedule. A locked screen is not a state: see chronos.session.locked. Read every 30 seconds.
chronos.observation.statechronos_observation_stategauge-statecoreOne series per state (disabled, before_start, active, ended, outside_daily_hours, misconfigured); 1 for the current one. disabled means no window is configured, i.e. always on.
chronos.recording.filteredchronos_recording_filteredgauge--diagnostic1 while the current frame is blurred by the privacy filter.
chronos.recording.expected_durationchronos_recording_expected_duration_seconds_totalcounters-coreSeconds during which recording was expected (mode recording, observation active or disabled, and the session not locked). The denominator for coverage. Added every 30 seconds, never more than 60 seconds at a time, so time spent asleep or stalled is not counted.
chronos.recording.transitionschronos_recording_transitions_totalcounter-eventcorePauses and resumes that changed the recording mode, from any source (the user, the schedule, an auto-resume); event is paused or resumed. A pause that finds recording already paused is not counted.
chronos.session.lockedchronos_session_lockedgauge--diagnostic1 while the Windows session is locked, 0 while it is unlocked. Read every 30 seconds. Absent until the recorder has seen the session unlocked once, so a recorder that is not allowed to read the lock state reports nothing. A locked screen has nothing to capture, so this is normal and expected.
chronos.session.transitionschronos_session_transitions_totalcounter-eventdiagnosticLock and unlock changes of the Windows session; event is locked or unlocked.
chronos.session.locked_durationchronos_session_locked_duration_seconds_totalcounters-diagnosticSeconds the session was locked. Locked time is not added to chronos.recording.expected_duration, so coverage is not penalised for it.
Video (9)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.video.chunkschronos_video_chunks_totalcounter-monitor, outcomecoreFinished video chunks. outcome is ok, encoder_failed, encoder_timeout or finalize_failed. The main "it works" signal.
chronos.video.chunk.last_successchronos_video_chunk_last_success_secondsgaugesmonitorcoreUnix time of the last ok chunk. Set to the process start time when the recorder starts.
chronos.video.chunk.byteschronos_video_chunk_bytes_totalcounterBymonitordiagnosticBytes of ok chunks. Average size = bytes / chunks.
chronos.video.chunk.encoded_durationchronos_video_chunk_encoded_duration_seconds_totalcountersmonitorcoreSeconds of video produced. Its rate divided by the rate of expected_duration is coverage.
chronos.video.chunk.wall_durationchronos_video_chunk_wall_duration_seconds_totalcountersmonitordiagnosticWall-clock seconds covered by chunks; compare with encoded duration to see drift.
chronos.video.queue.depthchronos_video_queue_depthgauge-monitordiagnosticMaximum frame-queue depth over the last 60 seconds.
chronos.video.ffmpeg.failureschronos_video_ffmpeg_failures_totalcounter-monitor, stagediagnosticEncoder breakage; stage is spawn, first_write or write.
chronos.video.capture.restartschronos_video_capture_restarts_totalcounter-monitordiagnosticCapture loop restarted.
chronos.video.chunk.shortchronos_video_chunk_short_totalcounter-monitordiagnosticok chunks whose video is under 95% of the wall-clock time they cover, which means frames were lost (dropped, or capture stalled) while the chunk was open. A chunk that spans a pause is also counted, because the paused time is part of its wall-clock span but produces no frames (a 20 second pause inside a minute gave a chunk of 21 frames in a live test); a chunk a frame or two short (for example 58 or 59 frames of a 60-frame minute, 97-98%) is normal jitter and is not counted; compare chronos.video.chunk.wall_duration with encoded_duration to see that smaller drift.
Frames (6)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.frames.capturedchronos_frames_captured_totalcounter-monitordiagnosticSuccessful captures. rate() gives the real FPS.
chronos.frames.capture_failureschronos_frames_capture_failures_totalcounter-monitordiagnosticFailed captures.
chronos.frames.droppedchronos_frames_dropped_totalcounter-monitor, reasondiagnosticFrames lost before encoding; reason is busy (a capture tick skipped because 40 frames of that monitor are already in flight, i.e. capturing or waiting to be handed to the queue stage), queue_full, paused (dropped while recording is paused, including a frame still in flight when the pause, a stop or a capture restart ended its capture run), filter_error (the blur task failed, or the active-window/URL lookup a filter needs took longer than the capture side's ordered-send wait, three frame periods, 1s to 10s) or late (a late or stale frame thrown away by the writer, or a late frame dropped before the filter stage while a recording filter is active). busy skips happen before capture, so they are not in frames.captured.
chronos.frames.encodedchronos_frames_encoded_totalcounter-monitordiagnosticFrames written to the encoder.
chronos.frames.filteredchronos_frames_filtered_totalcounter-monitorcoreFrames where the focused window was denied (or the one frame after a tab switch that carries a denied verdict forward). Shows the privacy controls working. It does not count a frame where only a denied window in the background was covered; see chronos.frames.blurred.
chronos.frames.blurredchronos_frames_blurred_totalcounter-monitor, trigger, scopecoreFrames on which any blur was actually applied. trigger is focused (the focused window was denied) or background (only a denied window behind it was covered); scope is region (a blur over the denied windows) or full (the whole frame, for example with whole-monitor blur or when window geometry is unknown). Frames with nothing to cover on a monitor are not counted.
Monitors (4)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.monitors.activechronos_monitors_activegauge--coreMonitors currently tracked for capture. Chronos checks for plugged and unplugged monitors every 10 seconds. Absent when vision is disabled.
chronos.monitors.changeschronos_monitors_changes_totalcounter-eventdiagnosticMonitors added or removed while chronos was running, or whose width or height changed (a resolution change or a rotation); event is added, removed or resized. The monitors present at startup are not counted.
chronos.monitor.widthchronos_monitor_widthgauge-monitordiagnosticWidth in pixels of the monitor as chronos reads it. Updated at start and when the geometry changes. The last value stays after a monitor is removed.
chronos.monitor.heightchronos_monitor_heightgauge-monitordiagnosticHeight in pixels, as above.
Audio (7)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.audio.chunkschronos_audio_chunks_totalcounter-device_kind, outcomecoreAudio chunk outcomes: saved, vad_skipped (no speech) or write_failed. device_kind is input or output; device names are never sent. Absent with --disable-audio.
chronos.audio.chunk.last_successchronos_audio_chunk_last_success_secondsgaugesdevice_kindcoreUnix time of the last saved audio chunk. Set to the process start time when the recorder starts.
chronos.audio.devices.activechronos_audio_devices_activegauge-device_kindcoreAudio devices currently capturing.
chronos.audio.device.eventschronos_audio_device_events_totalcounter-device_kind, eventdiagnosticHeadset churn; event is started, stopped, disconnected, reconnected or stream_error.
chronos.audio.transcriptionschronos_audio_transcriptions_totalcounter-outcomediagnosticTranscription outcomes, ok or failed.
chronos.audio.muxchronos_audio_mux_totalcounter-outcomecoreAttempts to mux saved audio into a finished video: ok, partial (timed out waiting for full audio coverage, muxed what existed) or failed (the video was kept without audio). Videos with no audio coverage, such as silence, are not counted. Absent when audio is off.
chronos.audio.mux.last_successchronos_audio_mux_last_success_secondsgauges-coreUnix time of the last ok or partial mux. Seeded at start while muxing is on, so it is absent when audio is off.
Upload (5)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.upload.fileschronos_upload_files_totalcounter-kind, outcomecoreTerminal upload results. kind is video, audio, db_backup, log or metrics (the day file of undelivered metrics, see below); failed means retries are exhausted.
chronos.upload.last_successchronos_upload_last_success_secondsgaugeskindcoreUnix time of the last successful upload. The main delivery signal. Set to the process start time when the recorder starts, so a fresh value right after a restart is not proof of a delivery.
chronos.upload.pendingchronos_upload_pendingup-down counter-kindcoreFiles waiting to upload (backlog).
chronos.upload.byteschronos_upload_bytes_totalcounterBykinddiagnosticBytes delivered.
chronos.upload.retrieschronos_upload_retries_totalcounter-kinddiagnosticTransient upload failures that were retried.
Database and config sync (3)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.db.write_errorschronos_db_write_errors_totalcounter-tablediagnosticFailed inserts; table is video_chunks or audio.
chronos.config_sync.pollschronos_config_sync_polls_totalcounter-outcomediagnosticConfig store polls: assigned, unassigned or error.
chronos.config_sync.last_successchronos_config_sync_last_success_secondsgauges-diagnosticUnix time of the last successful config poll. Set to the process start time when the recorder starts.
Telemetry itself (1)+
MetricPrometheus nameTypeUnitAttributesRoleMeaning
chronos.telemetry.export.failureschronos_telemetry_export_failures_totalcounter-reasondiagnosticFailed pushes to the endpoint; reason is network, auth (401/403), rejected (other 4xx) or server (5xx/429). It arrives once the endpoint is reachable again, so it explains network gaps afterwards. It cannot report auth while auth is broken: use /recording/status or chronos-check.ps1 for that.
05

What Is Sent

Resource attributeSentValue
service.instance.idalwaysDevice ID: 16 hex characters, a hash of hostname and MAC address.
host.nameonly with --telemetry-include-hostnameThe Windows computer name.
chronos.cloud_prefixwhen setThe operator-defined group.
service.name, service.version, os.type, os.versionalwayschronos, the chronos version, windows, the OS version.
Never sent
▸
Logs, traces or log messages. The log-event counter reads only the level and the module name.
▸
Window titles, URLs, file paths, application names, device names, transcripts, screenshots or any captured content.
▸
Free text of any kind: every attribute value is one of a fixed set of words, a number, or a module path.
▸
The OS username, hashed or not, and the computer name unless you opt in.

When the endpoint cannot be reached. A failed push is dropped and the next one carries the full running totals, so counters recover on their own; only gauges leave a gap. A 401 or 403 is retried with a growing delay, and the state is reported in the local API under telemetry in /recording/status. After a 15 minute outage with cloud upload configured, undelivered payloads are archived locally and uploaded with the device's other files; they are never replayed to the endpoint.

06

Verifying

1
Run chronos-check.ps1 on the device. It shows the telemetry settings, whether a header is stored (never its value), the device ID, and sends the same test request as the wizard.
2
The local API reports telemetry status under telemetry in /recording/status.
3
In your backend, query chronos_up. Each device is one series whose instance label is its device ID. It can take a minute or two.
4
Confirm chronos_video_chunks_total{outcome="ok"} is rising, then open a dashboard.
07

Sample Dashboard

A Grafana dashboard that uses a datasource variable (no hardcoded UIDs), written for the Prometheus names above. In Grafana, choose Dashboards, New, Import, and upload the JSON.

Customer dashboard (chronos recording health)

Success first, calm wording: devices recording now, hours recorded, coverage, recordings delivered, frames protected by the privacy filter, a per-device status table, trends and an activity row. Download chronos-customer.json

08

Sample Alerts

Download alerts.yml: sample Prometheus alert rules. Thresholds are starting points. Customer alerts need a lasting condition, so a single missed push, retry or pause never fires them.

A device under 1 GB free fires both ChronosDiskLow (warning) and ChronosDiskVeryLow (critical). If you route alerts through Alertmanager, let the critical one replace the warning:

inhibit_rules:
  - source_matchers: [alertname="ChronosDiskVeryLow"]
    target_matchers: [alertname="ChronosDiskLow"]
    equal: [instance]
Sample alerts (6)+
AlertSeverityMeaning
ChronosNoRecentRecordingwarningrecording was expected on a device for the last 3 hours but almost no video was saved
ChronosUploadsDelayedwarninga device is online but no recording has been delivered to storage for over 6 hours
ChronosDiskLowwarninga device has had under 5 GB of free disk space for over 30 minutes
ChronosDiskVeryLowcriticala device has under 1 GB of free disk space, recording is about to stop
ChronosRecorderUnresponsivecriticalthe recorder on a device has not responded for 15 minutes
ChronosRepeatedRestartswarningthe recorder on a device restarted more than 4 times in the last hour