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

NOISSUE - Forward /health and /metrics endpoints #63

Merged
merged 6 commits into from
Apr 30, 2024

Conversation

rodneyosodo
Copy link
Member

@rodneyosodo rodneyosodo commented Apr 29, 2024

Signed-off-by: Rodney Osodo [email protected]

What does this do?

  • Renames PrefixPath to PathPrefix
  • Add the CleanPathPrefix function to clean the path prefix used both by WebSocket and HTTP
  • Update dependencies to the latest version
  • Forward /metrics and /health endpoints
  • Update README with grammar changes

Which issue(s) does this PR fix/relate to?

No issue

List any changes that modify/break current functionality

Have you included tests for your changes?

Manually tested the changes

Did you document any new/modified functionality?

Yes, Updated documentation

Notes

N/A

Updates configuration and HTTP handling in the mproxy package by renaming PathPrefix field and a CleanPathPrefix function.

Signed-off-by: Rodney Osodo <[email protected]>
Adds a feature to serve metrics and health endpoints directly without proxying. This ensures that metrics and health checks are handled efficiently.

Signed-off-by: Rodney Osodo <[email protected]>
Signed-off-by: Rodney Osodo <[email protected]>
`WARN [linters_context] gocritic: no need to enable check "captLocal": it's already enabled` This applies to the removed linters

Signed-off-by: Rodney Osodo <[email protected]>
@dborovcanin dborovcanin changed the title NOISSUE - Forwarrd /health and /metrics endpoints NOISSUE - Forward /health and /metrics endpoints Apr 30, 2024
@dborovcanin dborovcanin merged commit 27dad4c into absmach:main Apr 30, 2024
1 check passed
@rodneyosodo rodneyosodo deleted the http-proxy branch October 22, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants