-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
demo: Add telemetry about usage of new demo features. #40883
Conversation
98344c2
to
c4465cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @rafiss and @rohany)
pkg/cli/demo_telemetry.go, line 21 at r1 (raw file):
type demoTelemetry int const (
Add comments to this stuff even though it's kind of trivial. Just mention that it corresponds to the flags to demo.
This PR adds telemetry for some of the new features added to cockroach demo (nodes, with-load, localities, geo-partitioned-replicas). It isn't straight forward how to test this, as there seems to be a race between the background thread that flushes telemetry and actually querying for the counter's values on startup. Work towards cockroachdb#228. Release justification: Low risk monitoring improvement. Release note: None
c4465cd
to
61fd06a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @jordanlewis and @rafiss)
pkg/cli/demo_telemetry.go, line 21 at r1 (raw file):
Previously, jordanlewis (Jordan Lewis) wrote…
Add comments to this stuff even though it's kind of trivial. Just mention that it corresponds to the flags to demo.
Done.
bors r=jordanlewis |
40883: demo: Add telemetry about usage of new demo features. r=jordanlewis a=rohany This PR adds telemetry for some of the new features added to cockroach demo (nodes, with-load, localities, geo-partitioned-replicas). It isn't straight forward how to test this, as there seems to be a race between the background thread that flushes telemetry and actually querying for the counter's values on startup. Work towards #228. Release justification: Low risk monitoring improvement. Release note: None Co-authored-by: Rohan Yadav <rohany@cockroachlabs.com>
Build succeeded |
This PR adds telemetry for some of the new features added to cockroach
demo (nodes, with-load, localities, geo-partitioned-replicas).
It isn't straight forward how to test this, as there seems to be a race
between the background thread that flushes telemetry and actually
querying for the counter's values on startup.
Work towards #228.
Release justification: Low risk monitoring improvement.
Release note: None