@ Deprecated public static void createAndRegisterWithProjectId ( String projectId , Duration exportInterval ) throws IOException { checkNotNull ( projectId , "projectId" ) ; checkNotNull ( exportInterval , "exportInterval" ) ; createInternal ( null , projectId , exportInterval , DEFAULT_RESOURCE , null , DEFAULT_CONSTANT_LABELS ) ; }
Creates a Stackdriver Stats exporter for an explicit project ID with default Monitored Resource .