docs: Stream<String> writeMeter(Meter meter) {
          // Snapshot values should be used throughout this method as there are chances for values to be changed in-between.
          List<Attribute> attributes = new ArrayList<>();
          for (Measurement measurement : meter.measure()) {
              double value = measurement.getValue();
              if (!Double.isFinite(value)) {
                  continue;
              }
              attributes.add(new Attribute(measurement.getStatistic().getTagValueRepresentation(), value));
          }
          if (attributes.isEmpty()) {
              return Stream.empty();
          }
          return Stream.of(event(meter.getId(), attributes.toArray(new Attribute[0])));
      }