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

grafana-tools / sdk / 241 / 1
54%
master: 54%

Build:
DEFAULT BRANCH: master
Ran 05 Mar 2020 07:49PM UTC
Files 12
Run time 14s
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

05 Mar 2020 07:47PM UTC coverage: 43.17% (+0.6%) from 42.555%
GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1

push

travis-ci

web-flow
Fix GetDashboard API mess, update README (#73)

* rest: dashboard: separate slug/uid calls

Separate UID/slug calls of `/api/dashboards/...` into two different
methods. Hide the general methods which are called by the wrappers. This
will allow us in the future to remove the slug calls once they get
removed from Grafana.

Remove the second variable returned by `setPrefix` because it is not
used. Remove the `uid/` handling from there as it should not know about
such cases. It is merely for adding a prefix `file/` or `db/` depending
on the passed string. `uid` should be moved into the separate method.

Fix the `Deprecated` comment format so that it would show up in IDEs
properly.

This overall improves the clarity of the API that we expose to our
users. Finally, lets reuse getRawDashboard() in the other method which
returns the same data, just parsed.

* Update README

* cmd: backup-dashboards: fix to use the new API

* rest: dashboard: remove extra setPrefix() call

* test: mark helpers, separate tests into proper files

* test: fix typos, Error() -> Fatal()

It is really impossible to continue if any of those calls fail.

651 of 1508 relevant lines covered (43.17%)

1.51 hits per line

Source Files on job 241.1 (GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 233
  • Travis Job 241.1
  • ebfd6e29 on github
  • Prev Job for GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1 on master (#236.1)
  • Next Job for GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1 on master (#250.4)
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