cockroachdb / cockroachdb/cockroach

Provide a progress indicator on CockroachDB Debug Tsdump

Open
#146,091 0 comments 0 reactions 1 assignee Claimed by @kevin-v-ngo View on GitHub
C-enhancement O-support P-3 T-supportability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Is your feature request related to a problem? Please describe.**
Today, when uploading to datadog, the script just outputs chunks of 100 metrics at a time. However, depending on the size of the tsdump, you don't know when it'll finish.

The challenge is when you have to leave your desk, and the upload takes a while, you can't let your machine go to sleep.

**Describe the solution you'd like**
Provide a progress indicator periodically. so users can get an estimate on how long it will take to upload.

**Additional context**

@arjunmahishi noted the following:

> I remember this was the initial idea. But calculating the progress in % while concurrently uploading chunks (without taking a performance hit) was proving to be really tricky. So, we didn't end up implementing it. I do agree that it would be a better UX.

Jira issue: CRDB-50383

Epic CRDB-52093

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.