- HAIC cluster should have a
postgres
telemetry database - Make sure you have following installed
- kubectl
- Make sure you have access to the cluster and you have updated the
kubeconfig
file accordingly.
- Run the following command and telemetry data will be downloaded to the
data
directory.
curl https://raw.githubusercontent.com/h2oai/haic-telemetry-export/main/scripts/export_telemetry.sh | bash
- HAIC cluster should have a
postgres
telemetry database - Make sure you have following installed
- kubectl
A bundle can be provided for customers who have air-gapped clusters. Please contact support team for assitance.
Telemetry table contains following data.
Column | Description |
---|---|
id |
Unique ID for the entry |
ts |
Timestamp |
payload |
Contains JSON representation of the payload. Refer docs/payload for more details |
resource_type |
Supported resource types. Refer docs/resource_type.md for more details |
resource_id |
ID of the resource of the type listed |
stream |
Type of payload |
source |
ID of the workload that emitted it |
kind |
Can be one of 0 - Unspecified, 1 - Event, & 2 - Gauge Metric |
user_id |
Keycloak subject (usually a uuid) |
user_name |
Keycloak preferred username (usually an email, users can change their email, but the id/uuid/subject stays constant and follows the user) |
- SQL queries related data can be found in docs/sql.md
NOTE: Sample data can be found in sample-data
There can be scenarios where data that matches the SQL query is not available in the telemetry database