• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Mirantis / kqueen / 2120
85%
master: 0%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-1.26.5
DEFAULT BRANCH: master
Ran 12 Mar 2018 09:34AM UTC
Jobs 1
Files 65
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2120

push

travis-ci

Vnaumov
refactor kqueen metrics mechanism.

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

531 of 3324 relevant lines covered (15.97%)

0.16 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2120.2 12 Mar 2018 09:34AM UTC 0
15.97
Travis Job 2120.2
Source Files on build 2120
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2120
  • a8c0fec2 on github
  • Prev Build on prometheus-check (#2117)
  • Next Build on prometheus-check (#2121)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc