• 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
root_storage_statistics_spec.rb 3.35 KB