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

prometheus integration #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

prometheus integration #4

wants to merge 1 commit into from

Conversation

FrancescoXX
Copy link
Contributor

in this PR, there are the following upgrades:

  • Added environment variable in the Dockerfile, with the default value to STAGE=local
  • Express version updated to version 4.17
  • Added prom-client dependency (version 14.0.0)
  • Removed parser and replaced with express.json()
  • added Prometheus client code
  • change the default port to 8080
  • added the /metrics endpoint to work with Prometheus
  • removed "parser" from all the old routes

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.

1 participant