Module telemetry

Source

Modulesยง

manager
pb_compatible
report

Structsยง

Cpu ๐Ÿ”’
Memory ๐Ÿ”’
Os ๐Ÿ”’
SystemData
TelemetryReportBase

Enumsยง

TelemetryNodeType

Constantsยง

TELEMETRY_CLUSTER_TYPE
TELEMETRY_CLUSTER_TYPE_DOCKER_COMPOSE
TELEMETRY_CLUSTER_TYPE_HOSTED
TELEMETRY_CLUSTER_TYPE_KUBERNETES
TELEMETRY_CLUSTER_TYPE_SINGLE_NODE
TELEMETRY_CLUSTER_TYPE_TEST ๐Ÿ”’
TELEMETRY_ENV_ENABLE ๐Ÿ”’
Environment Variable that is default to be true
TELEMETRY_REPORT_INTERVAL
Telemetry reporting interval in seconds, 6 hours
TELEMETRY_REPORT_URL
Url of telemetry backend

Traitsยง

TelemetryReport

Functionsยง

current_timestamp
get_telemetry_risingwave_cloud_uuid
post_telemetry_report_pb
Sends a POST request of the telemetry reporting to a URL.
report_event_common
report_scarf_enabled
report_to_scarf
request_to_telemetry_event
telemetry_cluster_type_from_env_var
telemetry_env_enabled
check whether telemetry is enabled in environment variable

Type Aliasesยง

Result ๐Ÿ”’
TelemetryError
Telemetry errors are generally recoverable/ignorable. String is good enough.
TelemetryResult