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

Mirantis / kqueen / 2131
85%
master: 0%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-1.26.5
DEFAULT BRANCH: master
Ran 12 Mar 2018 11:16AM UTC
Jobs 1
Files 72
Run time 6s
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
2131

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

3084 of 3634 relevant lines covered (84.87%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2131.2 12 Mar 2018 11:17AM UTC 0
84.87
Travis Job 2131.2
Source Files on build 2131
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2131
  • 7d6031ee on github
  • Prev Build on prometheus-check (#2129)
  • Next Build on prometheus-check (#2133)
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