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

prometheus / client_ruby
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix_with_labels
DEFAULT BRANCH: master
Repo Added 16 May 2014 05:49AM UTC
Files 32
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

LAST BUILD ON BRANCH use_monitor_instead_of_read_write_lock
branch: use_monitor_instead_of_read_write_lock
CHANGE BRANCH
x
Reset
  • use_monitor_instead_of_read_write_lock
  • RichiH-patch-1
  • add_script_name_in_collector_path
  • all_metrics_one_file
  • beorn7/doc
  • beorn7/license-cleanup
  • beorn7/meta
  • beorn7/push
  • bump_version_0_11_alpha
  • coveralls
  • document_startup_file_cleanup
  • dont_revalidate_symbols_on_increment
  • exchangeable-value-types
  • fix_all_labels_preset_warning
  • fix_jruby_travis
  • fix_label_order_bug
  • fix_with_labels
  • grobie/add-path-substitution-example
  • grobie/basic-auth
  • grobie/ensure-non-nil-values
  • grobie/fix-gauge-increment-documentation
  • grobie/fix-histogram-bucket-metrics
  • grobie/fix-lint-warnings
  • grobie/fix-rubocop
  • grobie/fix-travis-build-old-ruby
  • grobie/middleware-rewrite
  • grobie/sanitize-http-path-by-default
  • grobie/validate-metric-name
  • gzip
  • improved_documentation
  • init_metrics_without_labels
  • labelset_validator_cache_mutex
  • labelset_validator_no_cache
  • labelset_validator_nocache_norevalidatesymbols
  • master
  • multiprocess
  • push
  • refactor
  • remove-counter-decrement
  • remove-json-format
  • remove_deprecated_escaping
  • repo_sync
  • sinjo-add-missing-require
  • sinjo-bump-version
  • sinjo-consistent-metric-stores
  • sinjo-default-unaggregated-gauges
  • sinjo-improve-path-handling
  • sinjo-label-values-to-s
  • sinjo-per-store-docs
  • sinjo-readme-tweaks
  • sinjo-remove-flexible-rack-labels
  • sinjo-remove-old-version-pins
  • sinjo-reopen-on-fork
  • sinjo-unaggregated-gauges
  • sinjo-update-gemspec
  • sinjo-update-gemspec-authors
  • sinjo-update-maintainers
  • sinjo-wordsmithing
  • support_latest_rubies
  • support_ruby_3
  • textformat
  • travis-2.2.x
  • turn_on_rspec_warnings
  • update-example
  • v0.10.0
  • v0.10.0.pre.alpha.1
  • v0.10.0.pre.alpha.2
  • v0.11.0.pre.alpha.1
  • v0.3.0
  • v0.3.0.pre.rc.1
  • v0.3.1
  • v0.4.0
  • v0.4.1
  • v0.4.2
  • v0.5.0
  • v0.6.0
  • v0.7.0
  • v0.7.0.pre.rc.1
  • v0.7.1
  • v0.8.0
  • v0.9.0
  • v1.0.0
  • v1_0
  • v2.0.0
  • v2.1.0
  • v2_0
  • v2_1

pending completion
422

Pull #137

travis-ci

web-flow
Remove `concurrent-ruby` dependency

We added this dependency to be able to use `ReadWriteLock`, which is
a reentract lock. We did not need the Read/Write locking distinction,
and at the time, we didn't know that `Monitor` was reentrant, so this
seemed to be the best solution.

Knowing that `Monitor` is reentrant, we can get rid of the dependency,
and simply use `Monitor` instead.

Note that we keep `concurrent-ruby` as a *dev* dependency, because the
performance benchmarks use other primitives provided by it to synvhronize
their threads, but it's not needed for specs to pass, or for production use.

Signed-off-by: Daniel Magliola <danielmagliola@gocardless.com>
Pull Request #137: Remove `concurrent-ruby` dependency

4 of 4 new or added lines in 2 files covered. (100.0%)

1414 of 1414 relevant lines covered (100.0%)

44.41 hits per line

Relevant lines Covered
Build:
Build:
1414 RELEVANT LINES 1414 COVERED LINES
44.41 HITS PER LINE
Source Files on use_monitor_instead_of_read_write_lock
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
422 use_monitor_instead_of_read_write_lock Remove `concurrent-ruby` dependency We added this dependency to be able to use `ReadWriteLock`, which is a reentract lock. We did not need the Read/Write locking distinction, and at the time, we didn't know that `Monitor` was reentrant, so this s... Pull #137 17 Jun 2019 05:15PM UTC web-flow travis-ci pending completion  
421 use_monitor_instead_of_read_write_lock Remove `concurrent-ruby` dependency We added this dependency to be able to use `ReadWriteLock`, which is a reentract lock. We did not need the Read/Write locking distinction, and at the time, we didn't know that `Monitor` was reentrant, so this s... push 17 Jun 2019 05:11PM UTC dmagliola travis-ci pending completion  
See All Builds (639)
  • Repo on GitHub
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

© 2025 Coveralls, Inc