Skip to content

Conversation

@Altahrim
Copy link
Collaborator

@Altahrim Altahrim commented Dec 18, 2025

Summary

Introduce OpenMetrics endpoint featuring Nextcloud metrics.

It allows to get statistics about the Nextcloud instance but not about hardware (some exporters are already doing that very well). For example: number of files, shares or active users.

It's extensible so every app will be able to expose it's own metrics.

Test

Access it on /metrics (or index.php/metrics depending of configuration)

TODO

  • OpenAPI extractor

Checklist

@Altahrim Altahrim added this to the Nextcloud 33 milestone Dec 18, 2025
@Altahrim Altahrim self-assigned this Dec 18, 2025
@Altahrim Altahrim added 2. developing Work in progress php Pull requests that update Php code feature: monitoring Features related to observability labels Dec 18, 2025
@github-project-automation github-project-automation bot moved this to 🏗️ In progress in 📁 Files team Dec 18, 2025
Expose a `/metrics` endpoint with some basic metrics

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress feature: monitoring Features related to observability php Pull requests that update Php code

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

2 participants