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

operator-framework / operator-sdk / 7987
31%

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

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

Jobs
ID Job ID Ran Files Coverage
5 7987.5 06 Jan 2020 05:45PM UTC 0
42.45
Travis Job 7987.5
Source Files on build 7987
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7987
  • 81c6c8ae on github
  • Prev Build on master (#7981)
  • Next Build on master (#7988)
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