You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2017/12/27 01:55:18 UTC

[GitHub] zhengyangyong opened a new pull request #466: [JAV-508] & [SCB-11] Metrics Auto Publish

zhengyangyong opened a new pull request #466: [JAV-508] & [SCB-11] Metrics Auto Publish
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/466
 
 
   Follow this checklist to help us incorporate your contribution quickly and easily:
   
    - [ ] Make sure there is a [JIRA issue](https://https://servicecomb.atlassian.net/projects/JAV/issues) filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
    - [ ] Each commit in the pull request should have a meaningful subject line and body.
    - [ ] Format the pull request title like `[JAV-XXX] Fixes bug in ApproximateQuantiles`, where you replace `JAV-XXX` with the appropriate JIRA issue.
    - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
    - [ ] Run `mvn clean install` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
    - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   ---
   If user include metrics in dependency,the metrics service would auto publish with Java Chassis Producer,also use same transport and endpoint config.
   For example if user config rest address 0.0.0.0:8080 in microservice.yaml,then the metrics service will available at http://:8080/metrics
   
   this PR include :
   1.Direct metrics publish , interface is MetricsPublisher
   public interface MetricsPublisher {
     RegistryMetric metrics();
     RegistryMetric metricsWithWindowTimeIndex(int windowTimeIndex);
   }
   
   2.Integration test in demo-springmvc
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services