Usage stats to report
| 94 | |
| 95 | @dataclass(init=True) |
| 96 | class UsageStatsToReport: |
| 97 | """Usage stats to report""" |
| 98 | |
| 99 | #: The schema version of the report. |
| 100 | schema_version: str |
| 101 | #: The source of the data (i.e. OSS). |
| 102 | source: str |
| 103 | #: When the data is collected and reported. |
| 104 | collect_timestamp_ms: int |
| 105 | #: The total number of successful reports for the lifetime of the cluster. |
| 106 | total_success: Optional[int] = None |
| 107 | #: The total number of failed reports for the lifetime of the cluster. |
| 108 | total_failed: Optional[int] = None |
| 109 | #: The sequence number of the report. |
| 110 | seq_number: Optional[int] = None |
| 111 | #: The Ray version in use. |
| 112 | ray_version: Optional[str] = None |
| 113 | #: The Python version in use. |
| 114 | python_version: Optional[str] = None |
| 115 | #: A random id of the cluster session. |
| 116 | session_id: Optional[str] = None |
| 117 | #: The git commit hash of Ray (i.e. ray.__commit__). |
| 118 | git_commit: Optional[str] = None |
| 119 | #: The operating system in use. |
| 120 | os: Optional[str] = None |
| 121 | #: When the cluster is started. |
| 122 | session_start_timestamp_ms: Optional[int] = None |
| 123 | #: The cloud provider found in the cluster.yaml file (e.g., aws). |
| 124 | cloud_provider: Optional[str] = None |
| 125 | #: The min_workers found in the cluster.yaml file. |
| 126 | min_workers: Optional[int] = None |
| 127 | #: The max_workers found in the cluster.yaml file. |
| 128 | max_workers: Optional[int] = None |
| 129 | #: The head node instance type found in the cluster.yaml file (e.g., i3.8xlarge). |
| 130 | head_node_instance_type: Optional[str] = None |
| 131 | #: The worker node instance types found in the cluster.yaml file (e.g., i3.8xlarge). |
| 132 | worker_node_instance_types: Optional[List[str]] = None |
| 133 | #: The total num of cpus in the cluster. |
| 134 | total_num_cpus: Optional[int] = None |
| 135 | #: The total num of gpus in the cluster. |
| 136 | total_num_gpus: Optional[int] = None |
| 137 | #: The total size of memory in the cluster. |
| 138 | total_memory_gb: Optional[float] = None |
| 139 | #: The total size of object store memory in the cluster. |
| 140 | total_object_store_memory_gb: Optional[float] = None |
| 141 | #: The Ray libraries that are used (e.g., rllib). |
| 142 | library_usages: Optional[List[str]] = None |
| 143 | #: The extra tags to report when specified by an |
| 144 | # environment variable RAY_USAGE_STATS_EXTRA_TAGS |
| 145 | extra_usage_tags: Optional[Dict[str, str]] = None |
| 146 | #: The number of alive nodes when the report is generated. |
| 147 | total_num_nodes: Optional[int] = None |
| 148 | #: The total number of running jobs excluding internal ones |
| 149 | # when the report is generated. |
| 150 | total_num_running_jobs: Optional[int] = None |
| 151 | #: The libc version in the OS. |
| 152 | libc_version: Optional[str] = None |
| 153 | #: The hardwares that are used (e.g. Intel Xeon). |
no outgoing calls
no test coverage detected
searching dependent graphs…