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

Mirantis / kqueen / 2133 / 2
85%
master: 0%

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

12 Mar 2018 11:59AM UTC coverage: 84.865%. Remained the same
2133.2

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)
- prevent overriding env variables for pytest to avoid issues related to directory doesnot exist:
```FileNotFoundError: [Errno 2] No such file or directory: '/tmp/prometheus_client/gauge_all_5850.db'```
it happens when setup.cfg overrides env var for pytest run

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#

3084 of 3634 relevant lines covered (84.87%)

0.85 hits per line

Source Files on job 2133.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 2133.2
  • ee5fc362 on github
  • Prev Job for on prometheus-check (#2131.2)
  • Next Job for on prometheus-check (#2152.2)
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