Skip to content

[Feature Request] Provide worker status #456

@cretz

Description

@cretz

Describe the solution you'd like

Users need to get worker status to at least check worker health and programmatically react to information we often only make available via logs/metrics. This should be a common design applied to all SDKs. What should be made available (all subject to discussion):

  • Current activity slots in use
  • Current workflow slots in use (debatable since this comes and goes so quick)
  • Current workflow cache size (in SDKs that aren't using global caches)
  • Current status per worker type - e.g. "polling", "full", or "failure backoff"
    • Make sure failure backoff includes the error
    • Consider way to notify user programmatically upon status change
  • Server reachable (i.e. that client doesn't have any server errors)

Per-SDK Tickets

  • Go - TODO
  • Java - TODO
  • Core - TODO
  • TypeScript - TODO
  • Python - TODO
  • .NET - TODO
  • Ruby - TODO
  • PHP - TODO
  • Temporal CLI - TODO

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions