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

Optionally expose some admin endpoints on API server #158

Open
2 of 10 tasks
rlemaitre opened this issue Sep 12, 2024 · 0 comments
Open
2 of 10 tasks

Optionally expose some admin endpoints on API server #158

rlemaitre opened this issue Sep 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rlemaitre
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Which module is affected?

  • core
  • db-doobie
  • db-skunk
  • db-migration
  • docs
  • flags
  • http-client
  • rabbitmq-fs2
  • redis-rediculous

Cause

If the admin server is disabled, there is no way to have access to probe endpoints. Also, sometimes, users want to expose the probe endpoints (for external monitoring purpose for example)

Description

This feature will allow exposing easily endpoints that are initially defined for the admin server, such as probes.

Alternatives

No response

Context

No response

Possible Implementation

There are two ways to implement this:

  1. by configuration: expose probes flag on API server config
  2. by code: allow access to admin server controllers in App.run

Anything else?

No response

@rlemaitre rlemaitre added the enhancement New feature or request label Sep 12, 2024
@rlemaitre rlemaitre changed the title feat: Optionally expose some admin endpoints on API server Optionally expose some admin endpoints on API server Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant