We are building a separate util which will take care of loading stuff from
the env & making it possible to override the config using a
deployment.properties file. Ideally you should be using that util. We can
have it ready by the end of this week.

On Thu, Jun 9, 2016 at 2:40 PM, Isuru Perera <[email protected]> wrote:

> Hi,
>
> Currently the MSF4J uses environment variables to configure HTTP
> Monitoring Interceptor and Metrics Interceptor.
>
> In Metrics 2.0.0-SNAPSHOT, there is a yaml file for metrics configuration.
> I'm now integrating Metrics 2.0.0 to MSF4J. Therefore the metrics
> configurations must be done from the yaml file. The yaml file supports
> environment variable references.
>
> I will add another yaml file for configuring HTTP Monitoring Interceptor
> in MSF4J.
>
> How about httpmonitoring.yml for configuration file?
>
> Then we will have httpmonitoring.yml for HTTP Monitoring Interceptor and
> metrics.yml for Metrics Interceptor. Both configurations can refer to
> common environment variables if both are using the same WSO2 DAS.
>
> Any feedback on $subject?
>
> Thanks!
>
> Best Regards,
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>*
*email: **[email protected]* <[email protected]>
* cell: +94 77 3320919blog: **http://blog.afkham.org*
<http://blog.afkham.org>
*twitter: **http://twitter.com/afkham_azeez*
<http://twitter.com/afkham_azeez>
*linked-in: **http://lk.linkedin.com/in/afkhamazeez
<http://lk.linkedin.com/in/afkhamazeez>*

*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to