code: public Metric createMetricAsync(String metricName)
        throws ExecutionException, InterruptedException {
      // [START createMetricAsync]
      MetricInfo metricInfo = MetricInfo.of(metricName, "severity>=ERROR");
      Future<Metric> future = logging.createAsync(metricInfo);
      // ...
      Metric metric = future.get();
      // [END createMetricAsync]
      return metric;
    }
docs: [VARIABLE "my_metric_name"]