mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
* gradle.build - Added metrics-new-relic dependency Node.kt - Refactored start(): NodeInfo function extracting the code that was creating the Jolokia JMX reporter configuration and placing it into its own registerJolokiaReporter private function, added a registerJmxReporter function that is now called from start(), the registerJxmReporter function checks the NodeConfiguration's JmxReporterType value for either JOLOKIA or NEW_RELIC to derive whether to execute the registerJolokiaReporter vs. registerNewRelic reporter. NodeConfiguration - enhanced to encapsulate a JmxReporterType (JOLOKIA is the default config) configuration options for Jolokia or NewRelic reporters. Enhanced NodeTest.kt, NodeConfigurationImpleTest.kt and added test-working-config-newrelic.conf to ensure that tests still work as expected. * Added configuration details concerning JmxReporterType ... * Updated files with style suggestions made by @tlil * Updated markdown of the external url * Changed grammer on "See `Introduction to New Relic for Java`_ for details on getting started and how to install the New Relic Java Agent." to "See `Introduction to New Relic for Java`_ for details on how to get started and how to install the New Relic Java agent."