static Map createTags()

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


  static Map<String, String> createTags(List<LabelKey> keys, List<LabelValue> values) {
    final HashMap<String, String> tags = new HashMap<>(keys.size());
    for (int i = 0; i < values.size(); i++) {
      LabelValue value = values.get(i);
      if (Strings.isNullOrEmpty(value.getValue())) {
        continue;
      }
      tags.put(keys.get(i).getKey(), value.getValue());
    }
    return tags;
  }