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

prometheus / client_ruby / 454
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix_with_labels
DEFAULT BRANCH: master
Ran 17 Jul 2019 04:57PM UTC
Jobs 4
Files 32
Run time 4min
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
454

push

travis-ci

Sinjo
Convert label values to strings in base Metric class

Currently, you get an inconsistent experience when using different store
implementations (e.g. `SingleThreaded` vs `DirectFileStore`).

Because `DirectFileStore` has to write your metrics into a file, it
has to convert label values into strings. That means that when you
access them they're strings. Other stores don't do this, so you can
access them as symbols if you provided them as symbols.

To give users a consistent experience when swapping between stores, this
commit changes the Metric base class to convert the label values to
strings before they get anywhere near the underlying store.

1463 of 1463 relevant lines covered (100.0%)

45.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 454.1 (2.3.8) 17 Jul 2019 04:57PM UTC 0
100.0
Travis Job 454.1
2 454.2 (2.4.5) 17 Jul 2019 04:57PM UTC 0
100.0
Travis Job 454.2
3 454.3 (2.5.3) 17 Jul 2019 04:57PM UTC 0
100.0
Travis Job 454.3
5 454.5 (jruby-9.1.5.0) 17 Jul 2019 05:02PM UTC 0
0.0
Travis Job 454.5
Source Files on build 454
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #454
  • 4a96509a on github
  • Prev Build on sinjo-label-values-to-s (#453)
  • Next Build on sinjo-label-values-to-s (#457)
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