add endpoint for listing repos while serving in api mode and add more metrics

This commit is contained in:
Markus Muellner authored and Benj Fassbind committed 2023-03-22 17:22:54 +01:00
1 parent 0fdba29d51
commit 9c6f896666
7 files changed
+189 -12

No files matched your search

+1
View File
@@ -109,6 +109,7 @@ func apiFilesUpload(c *gin.Context) {
}
}
apiFilesUploadedCounter.WithLabelValues(c.Params.ByName("dir")).Inc()
c.JSON(200, stored)
}