• Alessio Caiazza's avatar
    Expose namespace storage statistics with GraphQL · 606a1d2d
    Alessio Caiazza authored
    Root namespaces have storage statistics.
    This commit allows namespace owners to get those stats via GraphQL
    queries like the following one
    
    {
      namespace(fullPath: "a_namespace_path") {
        rootStorageStatistics {
          storageSize
          repositorySize
          lfsObjectsSize
          buildArtifactsSize
          packagesSize
          wikiSize
        }
      }
    }
    606a1d2d
project_statistics_spec.rb 1.13 KB