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

Task: Prometheus Metrics - Update #244

Open
8 tasks done
jonrandahl opened this issue Sep 13, 2024 · 2 comments
Open
8 tasks done

Task: Prometheus Metrics - Update #244

jonrandahl opened this issue Sep 13, 2024 · 2 comments
Assignees

Comments

@jonrandahl
Copy link
Contributor

jonrandahl commented Sep 13, 2024

Implement improvements from other applications and documented in the internal wiki:

Definition of Done

  • Add Puma-metrics Gem
  • Update config/puma.rb to include metrics plugin and port info
  • Update config/initializers/prometheus.rb to add Middleware instrumentation
  • Update config.ru to ensure prometheus is not triggered in the test environment
  • Update app/subscribers/action_controller_prometheus_subscriber.rb
  • Update the prometheus metrics notification to the application exceptions controller1
  • Update the puma-stats to display in the footer while in development
  • Add the Prometheus monitoring information to the project README/WIKI

Footnotes

  1. https://github.com/epimorphics/front-end-templates/blob/main/prometheus-metrics/README.md#add-the-prometheus-metrics-to-the-application-exceptions-controller

@jonrandahl jonrandahl self-assigned this Sep 17, 2024
@jonrandahl
Copy link
Contributor Author

As this repository has had the information previously held in the README moved to the WIKI, the prometheus monitoring information is now here:
https://github.com/epimorphics/ppd-explorer/wiki#prometheus-monitoring

@jonrandahl
Copy link
Contributor Author

Also, due to the Landing page, PPD, and Standard Reports loading their templates from the LR Common Styles gem, the changes for the puma-stats to be displayed in the footer while in development have required a new gem version and release: v1.9.9

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

No branches or pull requests

1 participant