Skip to main content

Telemetry

warning

🚧 Cortex.cpp is currently under development. Our documentation outlines the intended behavior of Cortex, which may not yet be fully implemented in the codebase.

Cortex collects telemetry data to enhance our product. This data provides detailed insights into your usage, including crash reports for your Cortex or Jan applications. By analyzing this information, we can identify and fix bugs, optimize performance, and improve overall stability and user experience.

info

We do not collect any sensitive or personal information.

Usage​


cortex telemetry crash

Dataflow​

To understand how our telemetry system operates and how data flows from your hardware into our system, please refer to the Telemetry architecture.

Telemetry Metrics​

The collected telemetry metrics for Cortex are divided into two main categories:

  • CrashReportResource
  • CrashReportPayload

This category includes metrics related to the operating system and hardware details. It captures the following metrics:

MetricDescription
osNameName of the operating system.
osVersionVersion of the operating system.
architectureArchitecture of the operating system.
appVersionVersion of Cortex.
service.nameName of the Cortex service.
sourceSource of the report (cli, cortex-server, or cortex-cpp).
cpuModel of the CPU.
gpusModel of the GPU, vendor, VRAM, and VRAM dynamic.

Turn Off Telemetry​


## 1. First Command
echo "export CORTEX_CRASH_REPORT=0" >>~/.profile
## 2. Second Command
source ~/.profile

Export to Otel Collector​


## 1. First Command
echo "export CORTEX_EXPORTER_OLTP_ENDPOINT=<your_OTEL_endpoint>" >>~/.profile
## 2. Second Command
source ~/.profile

info

Learn more about Telemetry: