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

High-level task queue describe call with default-build-ID stats #525

Open
2 of 8 tasks
cretz opened this issue Aug 15, 2024 · 0 comments
Open
2 of 8 tasks

High-level task queue describe call with default-build-ID stats #525

cretz opened this issue Aug 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cretz
Copy link
Member

cretz commented Aug 15, 2024

Describe the solution you'd like

Need to be able to describe task queue from the high-level client and access stats information. This information is only available in server 1.25.

While the API result has build-ID-specific stats, at this time we want the describe result to only have the stats. Here is the specific implementation expectations modeled off of what is already done in Go:

  • "describe task queue" should accept options including whether to report stats and report poller info, both of which should default to false
  • This describe call should return a "task queue description" that right now only contains a map of "types" with the key as an "task queue type" enumerate and value of "task queue type info". This will contain information for the unversioned task queue only (later we will add build-ID-specific forms).
  • "task queue type" should be an enumerate with worker, activity, and nexus values
  • "task queue type info" should contain a collection of "pollers" (of type "task queue poller info") and "stats" (of type "task queue stats"). See Go SDK and API for the values of each of those types

Per-SDK Tickets

⚠️ Waiting on per-SDK issues until the solution as described is confirmed acceptable

@cretz cretz added the enhancement New feature or request label Aug 15, 2024
@cretz cretz changed the title High-level task queue describe call with versioning and stats High-level task queue describe call with stats Sep 24, 2024
@cretz cretz changed the title High-level task queue describe call with stats High-level task queue describe call with default-build-ID stats Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant