Skip to content

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

@cretz

Description

@cretz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions