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

operator-framework / operator-sdk / 7987 / 5
31%
master: 31%

Build:
DEFAULT BRANCH: master
Ran 06 Jan 2020 05:45PM UTC
Files 74
Run time 9s
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

06 Jan 2020 05:15PM UTC coverage: 42.449%. Remained the same
7987.5

push

travis-ci

web-flow
Improve skip metrics logs when running the operator locally in order to make clear the information (#2190)

* fix: metrics errors msg when run locally
* centralize the logic to add metrics in the scaffold file main.go in a new func addMetrics and then, check if is running locally in the first func called. If yes, just log the proper info and ignore the rest of the calls. 

It will log now skip service metrics log info instead of:

...
{"level":"info","ts":1573667590.2471445,"logger":"cmd","msg":"Could not generate and serve custom resource metrics","error":"operator run mode forced to local"}
{"level":"info","ts":1573667590.448851,"logger":"cmd","msg":"Could not create metrics Service","error":"failed to initialize service object for metrics: OPERATOR_NAME must be set"}
{"level":"info","ts":1573667590.6498501,"logger":"cmd","msg":"Could not create ServiceMonitor object","error":"no ServiceMonitor registered with the API"}
{"level":"info","ts":1573667590.6498818,"logger":"cmd","msg":"Install prometheus-operator in your cluster to create ServiceMonitor objects","error":"no ServiceMonitor registered with the API"}
...

2319 of 5463 relevant lines covered (42.45%)

3.85 hits per line

Source Files on job 7987.5
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 457
  • Travis Job 7987.5
  • 81c6c8ae on github
  • Prev Job for on master (#7981.5)
  • Next Job for on master (#7988.5)
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