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/metricsto 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.
Enabling Telemetry
| Flag | Environment variable | Meaning |
|---|---|---|
--telemetry-endpoint <url> | CHRONOS_TELEMETRY_ENDPOINT | Base URL. Telemetry runs only if this is set and --disable-telemetry is not. |
--telemetry-headers <k=v,...> | CHRONOS_TELEMETRY_HEADERS | Extra 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-hostname | Adds the computer name (host.name) to every series. Off by default. | |
--disable-telemetry | Kill 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.
| Property | Values | Notes |
|---|---|---|
TELEMETRY_ENABLED | 0 / 1 | 1 turns metrics on and needs TELEMETRY_ENDPOINT too. Carries across upgrades if not repeated; an explicit 0 turns it off. |
TELEMETRY_ENDPOINT | base URL | Not a secret. Carries across upgrades. |
TELEMETRY_INCLUDE_HOSTNAME | 0 / 1 | Default 0. Carries across upgrades. |
TELEMETRY_HEADERS | Name=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
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)>"
}
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.
| Field | Meaning |
|---|---|
| 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 name | Adds the Windows computer name to every series. Leave it off if computers are named after people. |
| test connection | Sends 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.
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.
| Backend | Endpoint to give chronos | Auth header |
|---|---|---|
| Prometheus 3.x | https://prom.corp:9090/api/v1/otlp | whatever 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 Cloud | https://otlp-gateway-prod-<region>.grafana.net/otlp | Authorization=Basic <base64(instanceId:token)> |
| Grafana Alloy / OpenTelemetry Collector | https://collector.corp:4318 | optional |
| Datadog | http://<datadog-agent>:4318 | none |
| New Relic | https://otlp.nr-data.net | api-key=<license key> |
| Honeycomb | https://api.honeycomb.io | x-honeycomb-team=<key> |
| OpenShift / ROSA, AWS, Azure | through a Collector with a TLS route or load balancer in front | Authorization=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.
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)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.up | chronos_up | gauge | - | - | core | 1 while chronos is running. A missing series means the device is silent. |
chronos.build.info | chronos_build_info | gauge | - | version | core | Always 1; the version attribute carries the build, for version distribution. |
chronos.process.start_time | chronos_process_start_time_seconds | gauge | s | - | core | Unix time the process started. changes() gives the restart count. |
process.cpu.utilization | process_cpu_utilization_ratio | gauge | 1 | - | diagnostic | CPU use of the chronos process, 0-1 of all cores. |
process.memory.usage | process_memory_usage_bytes | gauge | By | - | diagnostic | Resident 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.allocated | chronos_process_memory_allocated_bytes | gauge | By | - | diagnostic | Memory 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.allocated | chronos_system_memory_allocated_bytes | gauge | By | - | diagnostic | Memory 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_limit | chronos_system_memory_allocation_limit_bytes | gauge | By | - | diagnostic | The 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_exits | chronos_process_unclean_exits_total | counter | - | exit_kind | core | Earlier 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.stalled | chronos_runtime_stalled | gauge | - | runtime | core | 1 when the tokio runtime is wedged (the local API would not answer). |
chronos.log.events | chronos_log_events_total | counter | - | level, target | diagnostic | Warn and error log events per module. Only the level and module name are counted; the message is never read. |
Storage (2)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.disk.free | chronos_disk_free_bytes | gauge | By | - | core | Free space on the volume holding the data directory. |
chronos.db.size | chronos_db_size_bytes | gauge | By | - | diagnostic | Size of db.sqlite plus its write-ahead log. |
Recording state (9)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.recording.mode | chronos_recording_mode | gauge | - | mode | core | One 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.state | chronos_recording_state | gauge | - | state | core | One 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.state | chronos_observation_state | gauge | - | state | core | One 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.filtered | chronos_recording_filtered | gauge | - | - | diagnostic | 1 while the current frame is blurred by the privacy filter. |
chronos.recording.expected_duration | chronos_recording_expected_duration_seconds_total | counter | s | - | core | Seconds 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.transitions | chronos_recording_transitions_total | counter | - | event | core | Pauses 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.locked | chronos_session_locked | gauge | - | - | diagnostic | 1 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.transitions | chronos_session_transitions_total | counter | - | event | diagnostic | Lock and unlock changes of the Windows session; event is locked or unlocked. |
chronos.session.locked_duration | chronos_session_locked_duration_seconds_total | counter | s | - | diagnostic | Seconds the session was locked. Locked time is not added to chronos.recording.expected_duration, so coverage is not penalised for it. |
Video (9)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.video.chunks | chronos_video_chunks_total | counter | - | monitor, outcome | core | Finished video chunks. outcome is ok, encoder_failed, encoder_timeout or finalize_failed. The main "it works" signal. |
chronos.video.chunk.last_success | chronos_video_chunk_last_success_seconds | gauge | s | monitor | core | Unix time of the last ok chunk. Set to the process start time when the recorder starts. |
chronos.video.chunk.bytes | chronos_video_chunk_bytes_total | counter | By | monitor | diagnostic | Bytes of ok chunks. Average size = bytes / chunks. |
chronos.video.chunk.encoded_duration | chronos_video_chunk_encoded_duration_seconds_total | counter | s | monitor | core | Seconds of video produced. Its rate divided by the rate of expected_duration is coverage. |
chronos.video.chunk.wall_duration | chronos_video_chunk_wall_duration_seconds_total | counter | s | monitor | diagnostic | Wall-clock seconds covered by chunks; compare with encoded duration to see drift. |
chronos.video.queue.depth | chronos_video_queue_depth | gauge | - | monitor | diagnostic | Maximum frame-queue depth over the last 60 seconds. |
chronos.video.ffmpeg.failures | chronos_video_ffmpeg_failures_total | counter | - | monitor, stage | diagnostic | Encoder breakage; stage is spawn, first_write or write. |
chronos.video.capture.restarts | chronos_video_capture_restarts_total | counter | - | monitor | diagnostic | Capture loop restarted. |
chronos.video.chunk.short | chronos_video_chunk_short_total | counter | - | monitor | diagnostic | ok 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)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.frames.captured | chronos_frames_captured_total | counter | - | monitor | diagnostic | Successful captures. rate() gives the real FPS. |
chronos.frames.capture_failures | chronos_frames_capture_failures_total | counter | - | monitor | diagnostic | Failed captures. |
chronos.frames.dropped | chronos_frames_dropped_total | counter | - | monitor, reason | diagnostic | Frames 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.encoded | chronos_frames_encoded_total | counter | - | monitor | diagnostic | Frames written to the encoder. |
chronos.frames.filtered | chronos_frames_filtered_total | counter | - | monitor | core | Frames 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.blurred | chronos_frames_blurred_total | counter | - | monitor, trigger, scope | core | Frames 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)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.monitors.active | chronos_monitors_active | gauge | - | - | core | Monitors currently tracked for capture. Chronos checks for plugged and unplugged monitors every 10 seconds. Absent when vision is disabled. |
chronos.monitors.changes | chronos_monitors_changes_total | counter | - | event | diagnostic | Monitors 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.width | chronos_monitor_width | gauge | - | monitor | diagnostic | Width 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.height | chronos_monitor_height | gauge | - | monitor | diagnostic | Height in pixels, as above. |
Audio (7)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.audio.chunks | chronos_audio_chunks_total | counter | - | device_kind, outcome | core | Audio 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_success | chronos_audio_chunk_last_success_seconds | gauge | s | device_kind | core | Unix time of the last saved audio chunk. Set to the process start time when the recorder starts. |
chronos.audio.devices.active | chronos_audio_devices_active | gauge | - | device_kind | core | Audio devices currently capturing. |
chronos.audio.device.events | chronos_audio_device_events_total | counter | - | device_kind, event | diagnostic | Headset churn; event is started, stopped, disconnected, reconnected or stream_error. |
chronos.audio.transcriptions | chronos_audio_transcriptions_total | counter | - | outcome | diagnostic | Transcription outcomes, ok or failed. |
chronos.audio.mux | chronos_audio_mux_total | counter | - | outcome | core | Attempts 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_success | chronos_audio_mux_last_success_seconds | gauge | s | - | core | Unix 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)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.upload.files | chronos_upload_files_total | counter | - | kind, outcome | core | Terminal 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_success | chronos_upload_last_success_seconds | gauge | s | kind | core | Unix 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.pending | chronos_upload_pending | up-down counter | - | kind | core | Files waiting to upload (backlog). |
chronos.upload.bytes | chronos_upload_bytes_total | counter | By | kind | diagnostic | Bytes delivered. |
chronos.upload.retries | chronos_upload_retries_total | counter | - | kind | diagnostic | Transient upload failures that were retried. |
Database and config sync (3)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.db.write_errors | chronos_db_write_errors_total | counter | - | table | diagnostic | Failed inserts; table is video_chunks or audio. |
chronos.config_sync.polls | chronos_config_sync_polls_total | counter | - | outcome | diagnostic | Config store polls: assigned, unassigned or error. |
chronos.config_sync.last_success | chronos_config_sync_last_success_seconds | gauge | s | - | diagnostic | Unix time of the last successful config poll. Set to the process start time when the recorder starts. |
Telemetry itself (1)
| Metric | Prometheus name | Type | Unit | Attributes | Role | Meaning |
|---|---|---|---|---|---|---|
chronos.telemetry.export.failures | chronos_telemetry_export_failures_total | counter | - | reason | diagnostic | Failed 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. |
What Is Sent
| Resource attribute | Sent | Value |
|---|---|---|
service.instance.id | always | Device ID: 16 hex characters, a hash of hostname and MAC address. |
host.name | only with --telemetry-include-hostname | The Windows computer name. |
chronos.cloud_prefix | when set | The operator-defined group. |
service.name, service.version, os.type, os.version | always | chronos, the chronos version, windows, the OS version. |
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.
Verifying
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.telemetry in /recording/status.chronos_up. Each device is one series whose instance label is its device ID. It can take a minute or two.chronos_video_chunks_total{outcome="ok"} is rising, then open a dashboard.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
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)
| Alert | Severity | Meaning |
|---|---|---|
ChronosNoRecentRecording | warning | recording was expected on a device for the last 3 hours but almost no video was saved |
ChronosUploadsDelayed | warning | a device is online but no recording has been delivered to storage for over 6 hours |
ChronosDiskLow | warning | a device has had under 5 GB of free disk space for over 30 minutes |
ChronosDiskVeryLow | critical | a device has under 1 GB of free disk space, recording is about to stop |
ChronosRecorderUnresponsive | critical | the recorder on a device has not responded for 15 minutes |
ChronosRepeatedRestarts | warning | the recorder on a device restarted more than 4 times in the last hour |