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

export metrics via uvicorn asgi app #576

Merged

Conversation

ekneg54
Copy link
Collaborator

@ekneg54 ekneg54 commented Apr 24, 2024

this change adds the uvicorn webserver to the metrics endpoint to be able to disable server side headers, and to enable an access log. Beside this, you are now able to configure ssl transport security for the metrics endpoint.

closes #575

@ekneg54 ekneg54 added the enhancement New feature or request label Apr 24, 2024
@ekneg54 ekneg54 self-assigned this Apr 24, 2024
@ekneg54 ekneg54 linked an issue Apr 24, 2024 that may be closed by this pull request
@ekneg54 ekneg54 force-pushed the 575-implement-access-logging-in-prometheus-metric-endpoint branch from 03af22a to 137795b Compare April 25, 2024 14:48
@ekneg54 ekneg54 marked this pull request as ready for review April 25, 2024 14:48
@ekneg54 ekneg54 requested a review from dtrai2 April 25, 2024 14:49
Copy link
Collaborator

@dtrai2 dtrai2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a few minor suggestions, but also have a bigger understanding issue 😄 Details in the comments below.

ekneg54 and others added 9 commits April 26, 2024 12:43
@ekneg54
Copy link
Collaborator Author

ekneg54 commented Apr 26, 2024

@dtrai2 please have a look again and could you have a look on documentation generation? there is something wrong security best practice generation dependent. Could you fix it?

@ekneg54 ekneg54 requested a review from dtrai2 April 29, 2024 06:47
ekneg54 and others added 4 commits April 29, 2024 09:35
Co-authored-by: dtrai2 <95028228+dtrai2@users.noreply.github.com>
Co-authored-by: dtrai2 <95028228+dtrai2@users.noreply.github.com>
Co-authored-by: dtrai2 <95028228+dtrai2@users.noreply.github.com>
Co-authored-by: dtrai2 <95028228+dtrai2@users.noreply.github.com>
@ekneg54 ekneg54 requested a review from dtrai2 April 29, 2024 07:36
@ekneg54 ekneg54 merged commit 0e5198d into main Apr 29, 2024
10 checks passed
@ekneg54 ekneg54 deleted the 575-implement-access-logging-in-prometheus-metric-endpoint branch April 29, 2024 08:10
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

Successfully merging this pull request may close these issues.

implement access logging in prometheus metric endpoint
2 participants