Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

[FEATURE]: Add healthcheck #19

Closed
shanduur opened this issue Aug 4, 2023 · 0 comments · Fixed by #49
Closed

[FEATURE]: Add healthcheck #19

shanduur opened this issue Aug 4, 2023 · 0 comments · Fixed by #49
Labels
area/monitoring help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature.

Comments

@shanduur
Copy link
Contributor

shanduur commented Aug 4, 2023

Are you interested in contributing to the development of this feature?

Yes

Is your feature request related to a problem? Please describe.

A lot of repositories struggle with implementing health check. We can standardise it for COSI Drivers.

Describe the solution you'd like.

Write a proposal/proof of concept, that will implement the custom health check mechanism. The healthcheck should:

  • define a Checker interface;
  • Checker should have methods for:
    • checking if the connection to the Object Storage Provider (OSP) can be established (CanConnect() error ?);
    • checking if the driver can authenticate to the OSP (IsAuthenticated() error ?)
  • start a http server that can be used by Kubernetes or docker to check the /healthz endpoint.

Describe alternatives you've considered.

N/A

Additional Information

@shanduur shanduur changed the title Add healthcheck [FEATURE]: Add healthcheck Aug 4, 2023
@shanduur shanduur added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. area/monitoring help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. and removed good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Aug 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/monitoring help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant