static void recordTaggedStat()

in client/src/main/java/com/google/cloud/solutions/opencensus/client/TestInstrumentation.java [141:150]


  static void recordTaggedStat(String methodValue, Double d) {
    TagContext tctx =
        tagger
            .emptyBuilder()
            .put(TestInstrumentation.KEY_METHOD, TagValue.create(methodValue))
            .build();
    try (Scope ss = tagger.withTagContext(tctx)) {
      statsRecorder.newMeasureMap().put(M_LATENCY_MS, d).record();
    }
  }