You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/07/20 12:43:19 UTC

[GitHub] [skywalking] kezhenxu94 commented on pull request #5129: Add jvm_thread metrics

kezhenxu94 commented on pull request #5129:
URL: https://github.com/apache/skywalking/pull/5129#issuecomment-661010206


   @stalary 
   
   - add a new test case to verify the JVM-related metrics
   - add a expected file (`expected/simple/jvmThreadMetrics.yml`)
   
   here is a skeleton
   
   ```java
   
       @RetryableTest
       void jvmThreadMetrics() throws Exception {
           // query the jvm thread metrics
   
           load("expected/simple/jvmThreadMetrics.yml").as(JvmThreadMetricsMatcher.class).verify(jvmThreadMetrics);
       }
   ```
   
   I don't think it's possible to verify the exact thread count, active thread count, etc, so verifying that they are > 0 should be enough


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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