Skip to content

0.3.0-a1 : Metrics & Drivers

Latest
Compare
Choose a tag to compare
@detsam detsam released this 29 Sep 19:18

Overview checklist

  • ame-metrics integration, now there is some core metrics available!
  • RequestDriver for a bundle now can be configured through bundle properties
  • RequestDriverFactory registration now a part of redgreen-core module, new drivers now can be added as simple plugin modules

Configuration changes

New configuration properties are introduced within the release.

  • redgreen.direct.bundles.[BUNDLE-NAME].driver - defines RequestDriver implementation that would be used to process incoming requests on the bundle. By default is simpleStreamDriver. NOTE: dummyDriver also available!
  • block of ame-metrics configuration properties, see ame-metrics project for details.
Example

Now it is possible to have number of resource bundles that has different driver configurations.

redgreen.direct.bundles.t-bundle.driver=simpleStreamDriver
redgreen.direct.bundles.t-bundle.green=http://example.xcom/
redgreen.direct.bundles.t-bundle.red=http://example.bcom/,http://example.com/
redgreen.direct.bundles.e-bundle.driver=dummyDriver
redgreen.direct.bundles.e-bundle.green=http://example.xcom/
redgreen.direct.bundles.e-bundle.red=http://example.bcom/,http://example.com/