Skip to content
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

changes to tq-describe-command descriptions #668

Merged
merged 5 commits into from
Sep 16, 2024

Conversation

Shivs11
Copy link
Member

@Shivs11 Shivs11 commented Sep 16, 2024

What was changed

  • re-worded an existing description of the CLI command explaining temporal task-queue describe

Why?

  • more clarity

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

- `ApproximateBacklogAge`: How far "behind" the task queue is running. This is
the difference in age between the oldest and newest tasks in the backlog,
measured in seconds.
- `ApproximateBacklogAge`: Approximate age of the oldest task in the backlog, based on its creation time, measured in seconds.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thought quite a bit on this and I think I quite like this - I know @josh-berry, you mentioned you didn't like the presence of head of queue, creation time and oldest task coming together all at once. However, after also accounting @ShahabT 's comments, I believe this captures the essence of what we are trying to describe well without confusing the reader.

let me know what you think!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Sounds good. Please wrap to 80 columns though (otherwise the user-facing output will look wrong). :)

- `TasksAddRate`: Approximate rate at which tasks are being added to the task
queue, measured in tasks per second, averaged over the last 30 seconds.
Includes tasks dispatched immediately without going to the backlog
(sync-matched tasks), as well as tasks added to the backlog.
(sync-matched tasks), as well as tasks added to the backlog. However, not all tasks dispatched to the workers are counted in this metric. For more information please see [docs](https://github.com/temporalio/api/blob/b4bdd8035cd1883aa96cbad5bb0e582850feea5f/temporal/api/taskqueue/v1/message.proto#L116).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plan is to replace the hyper link with temporal docs link - haven't done so yet since docs changes have not been published :( (yet)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the docs page isn't available yet, we'll have to write this without the link and then update it later (after the release). See what you think about the wording in my PR (sorry ours crossed each other in flight!): https://github.com/temporalio/cli/pull/669/files#diff-b4c85d71e771b938a0779d1e4113e068c19dd896aac86c04fe1828dd5a15c63f

@Shivs11 Shivs11 marked this pull request as ready for review September 16, 2024 13:33
- requested changes to adhere to the principles set by the docs team

Co-authored-by: Josh Berry <josh.berry@temporal.io>
@josh-berry josh-berry merged commit e398811 into main Sep 16, 2024
7 checks passed
@josh-berry josh-berry deleted the shivam/tq-describe-commands-fix branch September 16, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants