Skip to content

Conversation

@MyIgel
Copy link
Member

@MyIgel MyIgel commented Dec 18, 2018

Implementation of a Prometheus endpoint, see #418 (/metrics endpoint)

  • Adds a /metrics endpoint for prometheus
  • Reimplemented the /stats endpoint
  • The LC_NUMERIC change is required because PHP uses the users browser language to format float outputs

Usage:

scrape_configs:
  - job_name: 'engelsystem'
    static_configs:
    - targets: ['engelsystem.example.com:80']

@MyIgel MyIgel added the Type: Feature An idea for a new feature label Dec 18, 2018
@MyIgel MyIgel added this to the 35c3 milestone Dec 18, 2018
@msquare msquare merged commit 9a2f246 into engelsystem:master Dec 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Feature An idea for a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants