Skip to content

client.health.isHealthy() needs documentation on how to use and would expect this to have retries #576

@msfussell

Description

@msfussell

The SDKs have sidecar health status APIs

Expected Behavior

  1. The `client.health.isHealthy() has no documentation on how to use this API. Add to the docs here https://v1-13.docs.dapr.io/developing-applications/sdks/js/js-client/
  2. There are no retries on this API as far as I can tell, which does not make it useful. I would either have the Python approach which hides the API on client start (it checks for health) or have a retry like Java and .NET
  3. Also this does not see to check the healthx/outbound endpoint, instead does something different on the metadata endpoint. This should be consistent with the other APIs, including ideally in the name.

Actual Behavior

  1. No docs
    2)No retries to API
  2. Different impl from other SDKs

Metadata

Metadata

Labels

Type

No type

Projects

Status

Needs Owner

Relationships

None yet

Development

No branches or pull requests

Issue actions