code: @Deprecated
    public static void createAndRegister(Duration exportInterval) throws IOException {
      checkNotNull(exportInterval, "exportInterval");
      checkArgument(
          !DEFAULT_PROJECT_ID.isEmpty(), "Cannot find a project ID from application default.");
      createInternal(
          null, DEFAULT_PROJECT_ID, exportInterval, DEFAULT_RESOURCE, null, DEFAULT_CONSTANT_LABELS);
    }
docs: Creates a Stackdriver Stats exporter with default Monitored Resource.
  
  <p>Only one Stackdriver exporter can be created.
  
  <p>This uses the default application credentials. See {@link
  GoogleCredentials#getApplicationDefault}.
  
  <p>This uses the default project ID configured see {@link ServiceOptions#getDefaultProjectId}.
  
  <p>This is equivalent with:
  
  <pre>{@code
  StackdriverStatsExporter.createWithProjectId(ServiceOptions.getDefaultProjectId());
  }</pre>
  
  @param exportInterval the interval between pushing stats to StackDriver.
  @throws IllegalStateException if a Stackdriver exporter is already created.
  @deprecated in favor of {@link #createAndRegister(StackdriverStatsConfiguration)}.
  @since 0.9