Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Add ENABLE_BROKER_STATS to broker.conf #6389

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Miciah
Copy link
Contributor

@Miciah Miciah commented May 25, 2016

Add instrumentation in the controller to log Passenger memory usage statistics after every request.

Add ENABLE_BROKER_STATS setting (default false) to /etc/openshift/broker.conf to enable collecting and logging of these statistics.

These log entries can be used by the oo-plot-broker-stats command, added in commit 10d6463, to generate data for gnuplot.

openshift-bot, please [test] [extended:broker,site]!

@thrasher-redhat
Copy link
Contributor

LGTM. Would we want to update the help options or man pages to include this?

@Miciah
Copy link
Contributor Author

Miciah commented May 25, 2016

Yeah. In fact, https://bugzilla.redhat.com/show_bug.cgi?id=1204251 already exists for the manpage.

@thrasher-redhat
Copy link
Contributor

Repeated failure:

1) Error:
test_marketplace_order_handler_paid_event_tolerates_409(MarketplaceIntegrationTest):
Marketplace::OrderHandler::OrderPaidException: Failed sending order paid event to marketplace: 500 - [{"code":"Internal Server Error","message":"class java.lang.NullPointerException: null"}]
    /root/openshift-test/site/lib/marketplace/order_handler.rb:34:in `paid'
    /root/openshift-test/site/test/integration/marketplace_test.rb:25:in `block in <class:MarketplaceIntegrationTest>'

Looks like this might have to do with marketplace changes? @sallyom

@sallyom
Copy link
Contributor

sallyom commented May 26, 2016

#3098 should fix that failure

@Miciah
Copy link
Contributor Author

Miciah commented Jun 1, 2016

openshift-bot, please [test] again now that the site extended tests are fixed!

@Miciah
Copy link
Contributor Author

Miciah commented Jun 1, 2016

@sallyom, would you mind editing your comment? The link to the already-merged PR in the li repository is confounding openshift-bot.

@Miciah
Copy link
Contributor Author

Miciah commented Jun 1, 2016

@sallyom, never mind, false alarm! The tests are running despite the "Linked pull request 3098 in repo 'li' is not mergeable" warning.

@Miciah
Copy link
Contributor Author

Miciah commented Jun 1, 2016

@pravisankar, I cherry-picked this old change from you because I noticed we had merged oo-plot-broker-stats into master when it was written, so the tool is in Origin and Enterprise, but we never merged the instrumentation in the broker into master—that, we only merged into stage (see https://github.com/openshift/puppet-openshift-online/issues/870). Do you see any reason not to merge the instrumentation into master now? (The alternative is to delete oo-plot-broker-stats—no sense in having the tool without the instrumentation.)

@thrasher-redhat
Copy link
Contributor

Re-[test] for what looks to be unrelated test failures.

@thrasher-redhat
Copy link
Contributor

Looks like the same failures. Will need to investigate further.

@Miciah
Copy link
Contributor Author

Miciah commented Jul 28, 2016

Rerebased.

@Miciah
Copy link
Contributor Author

Miciah commented Aug 1, 2016

Rererebased.

Add instrumentation in the controller to log Passenger memory usage
statistics after every request.

Add ENABLE_BROKER_STATS setting (default false) to
/etc/openshift/broker.conf to enable collecting and logging of these
statistics.

These log entries can be used by the oo-plot-broker-stats command, added in
commit 10d6463, to generate data for
gnuplot.
@Miciah
Copy link
Contributor Author

Miciah commented Aug 1, 2016

Correctly rererebased.

@openshift-bot
Copy link

Evaluated for online test up to c4dcfb2

@openshift-bot
Copy link

Online Test Results: FAILURE (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/9376/) (Extended Tests: broker, site)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants