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

Expose aggregate HTTP server stats (response duration, errors) on prometheus exporter #2369

Closed
mmanes opened this issue Jul 12, 2023 · 1 comment
Assignees
Labels
internals Non-functional nerdy boring stuff
Milestone

Comments

@mmanes
Copy link

mmanes commented Jul 12, 2023

Problem

FusionAuth currently exports prometheus metrics for each HTTP URI path invoked, which can be very useful, but can also result in over 1k metric series. Ingesting all of these distinct metrics can get expensive and add overhead to the prometheus datastore. Users may wish to only report on aggregated request statistics, lowering the cost of storage.

Solution

Add an additional prometheus metric that exports HTTP request durations and error counts, aggregated across all URI paths. Scrapers can then be configured to drop the per-URI metrics.

@mmanes mmanes self-assigned this Jul 12, 2023
@mmanes mmanes added this to the 1.47.0 milestone Jul 12, 2023
@mmanes mmanes added this to Backlog in FusionAuth Issues via automation Jul 12, 2023
@mmanes mmanes moved this from Backlog to Code complete in FusionAuth Issues Jul 12, 2023
@robotdan robotdan added the internals Non-functional nerdy boring stuff label Jul 26, 2023
@robotdan robotdan moved this from Code complete to Done in FusionAuth Issues Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internals Non-functional nerdy boring stuff
Projects
FusionAuth Issues
  
Delivered
Development

No branches or pull requests

2 participants