# Prometheus exporter problem with SecureRandom (multisite?)

**URL:** <https://meta.discourse.org/t/prometheus-exporter-problem-with-securerandom-multisite/73064>\
**Category:** Support\
**Created:** [October 30, 2017, 5:34pm UTC](https://meta.discourse.org/t/prometheus-exporter-problem-with-securerandom-multisite/73064 "2017-10-30T17:34:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [October 30, 2017, 5:34pm UTC](https://meta.discourse.org/t/prometheus-exporter-problem-with-securerandom-multisite/73064/1 "2017-10-30T17:34:54Z")

</div>

Hey, @sam. I just tried to bootstrap a multisite instance and got this error:

```plaintext
I, [2017-10-30T17:12:58.767601 #14] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
NoMethodError: undefined method `bytes' for SecureRandom:Module
/var/www/discourse/plugins/discourse-prometheus/lib/big_pipe.rb:11:in `<class:RobustPipe>'
/var/www/discourse/plugins/discourse-prometheus/lib/big_pipe.rb:9:in `<class:BigPipe>'
/var/www/discourse/plugins/discourse-prometheus/lib/big_pipe.rb:7:in `<top (required)>'
/var/www/discourse/plugins/discourse-prometheus/plugin.rb:8:in `require_relative'
/var/www/discourse/plugins/discourse-prometheus/plugin.rb:8:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:412:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:412:in `activate!'
/var/www/discourse/lib/discourse.rb:146:in `block in activate_plugins!'
/var/www/discourse/lib/discourse.rb:143:in `each'
/var/www/discourse/lib/discourse.rb:143:in `activate_plugins!'
/var/www/discourse/config/application.rb:178:in `<class:Application>'
/var/www/discourse/config/application.rb:26:in `<module:Discourse>'
/var/www/discourse/config/application.rb:25:in `<top (required)>'
/var/www/discourse/Rakefile:5:in `require'
/var/www/discourse/Rakefile:5:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
(See full trace by running task with --trace)
I, [2017-10-30T17:13:10.161589 #14] INFO -- : 

```

Removing Prometheus plugin solved the problem.

(This should be a new topic in #Contribute > Bug and not a reply to [Discourse Prometheus](https://meta.discourse.org/t/prometheus-exporter-plugin-for-discourse/72666), right?)

---

_[View the full topic](https://meta.discourse.org/t/prometheus-exporter-problem-with-securerandom-multisite/73064)._
