public List apply()

in opencensus-exporter/src/main/java/com/spotify/ffwd/FfwdMetricsConverter.java [98:107]


        public List<com.spotify.ffwd.Metric> apply(Summary summary) {
          // TODO: Make the percentiles configurable.
          final List<Summary.Snapshot.ValueAtPercentile> snapshot =
              summary.getSnapshot().getValueAtPercentiles();

          // TODO: Add stat: min/max/average/p75/p99
          return Collections.singletonList(
              new com.spotify.ffwd.Metric().value(snapshot.get(50).getValue())
          );
        }