> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics

> Send analytics events from the DirectGVR workflow engine.

The following events are sent by the analytics system in the workflow engine.

## Repository

Tracks repository sync events.

### SyncStart

Fired when the first byte of a sync is written locally.

| Metric | Description |
| - | - |
| repository | Name of the repository sync task |
| appVersion | Version of the host used to send the message (5.0.0.0) |
| os | Operating system, version and bitness (\{SystemName} \{SystemVersion} (\{SystemBitness}-bit)) |
| from | Local repository id |
| to | Remote repository id |
| repair | true if task was a repair, false otherwise |

#### SyncStop

Fired if anything was changed locally during the sync task (localWriteBytes > 0)

| Metric | Description |
| - | - |
| repository | Name of the repository sync task |
| appVersion | Version of the host used to send the message (5.0.0.0) |
| os | Operating system, version and bitness (\{SystemName} \{SystemVersion} (\{SystemBitness}-bit)) |
| timeElapsed | Duration of task |
| from | Local repository id |
| to | Remote repository id |
| cancelled | true if task was cancelled, false otherwise |
| repair | true if task was a repair, false otherwise |
| complete | true if task completed, false otherwise |
| piecesTotal | Total number of pieces in sync |
| piecesSkipped | Total number of pieces skipped during sync (Read from local and determined not to need update) |
| piecesMasked | Total number of pieces masked during sync |
| piecesComplete | Pieces synced successfully |
| pieceAverageTime | Weighted average duration of piece sync |
| localMetaFileLoadTime | Number of seconds elapsed loading the local metafile |
| remoteMetaFileLoadTime | Number of second elapsed loading the remote metafile |
| aliasLoadTime | Number of seconds elapsed loading the alias |
| catalogLoadTime | Number of seconds elapsed loading the catalog |
| cleanTime | Number of seconds elapsed during cleaning state |
| refreshTime | Number of seconds elapsed during refresh state |
| syncTime | Number of seconds elapsed in the sync state |
| eraseTime | Number of seconds elapsed in the erase state |
| stallTime | Number of seconds elapsed in the stall state |
| aliveTime | Number of seconds elapsed in the alive state |
| pauseTime | Number of seconds elapsed while paused |
| deltaFailures | Number of delta failures during the sync |
| errorCount | Total number of errors encountered during the sync |
| lastErrorCode | Information from last error encountered |
| lastErrorCodeEx | Information from last error encountered |
| lastErrorIndex | Information from last error encountered |
| lastErrorType | Information from last error encountered |
| localMaxReadSpeed | Maximum read speed detected from local repository |
| localReadBytes | Number of bytes read from local repository |
| localMaxWriteSpeed | Maximum write speed detected from local repository |
| localWriteBytes | Number of bytes written from local repository |
| remoteMaxReadSpeed | Maximum read speed detected from remote repository |
| remoteReadBytes | Number of bytes read from remote repository |
| remoteMaxWriteSpeed | Maximum write speed detected from remote repository |
| remoteWriteBytes | Number of bytes written from remote repository |

## Launch

Tracks launch start events. Currently does not provide exit code information because the application would have to wait for the application to stop before sending it.

### Launch

| Metric | Description |
| - | - |
| name | Name of the launch task |
| appVersion | Version of the host used to send the message (5.0.0.0) |
| os | Operating system, version and bitness (\{SystemName} \{SystemVersion} (\{SystemBitness}-bit)) |
| companyName | Company name of the launched application (Resource stamp) |
| productName | Product name of the launched application (Resource stamp) |
| fileVersion | File version of the launched application (Resource stamp) |
| productVersion | Product version of the launched application (Resource stamp) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.