Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
previously i cant get users/orgs metrics with: '''localhost:5000/metrics/''' - kqueen metrics updating - logging for above operation (info level) Notes: We export all application metrics on /metrics and this metric can scraped by any external Prometheus instance. There two ways to authenticate to get this endpoint: 1. Provided valid token in header TOKEN=$(curl -s -H "Content-Type: application/json" --data '{"username":"admin","password":"default"}' -X POST localhost:5000/api/v1/auth | jq -r '.access_token'); echo $TOKEN; curl -H "Authorization: Bearer $TOKEN" And then go to localhost:5000/metrics 2. Add scraper IP address to PROMETHEUS_WHITELIST configuration and then Go to {prometheus_ip}:{port}/metrics review-docs: https://docs.google.com/document/d/1Bnor6D78fVzOndie52wFHVVbgV0daTOHrVP1IgKZvic/edit# test: travis checks, demo
- Loading branch information