/reproduce-issue-666

Reproduce issue https://github.com/prometheus/jmx_exporter/issues/666

Reproduce Error

Repo to reproduce issue: prometheus/jmx_exporter#666

Running as http server

  1. git clone git@github.com:davidmpaz/reproduce-issue-666.git
  2. git checkout exporter-as-server
  3. docker-compose up -d
  4. curl -s http://localhost:5566/metrics | grep java_lang_OperatingSystem_AvailableProcessors

Running as java agent

  1. git clone git@github.com:davidmpaz/reproduce-issue-666.git
  2. git checkout exporter-as-agent
  3. docker-compose up -d
  4. curl -s http://localhost:5566/metrics | grep java_lang_OperatingSystem_AvailableProcessors

Notes

If changing branches to test after executing docker-compose up-d, be sure to take down the stack with: docker-compose down in order to start fresh again.