Ferdinand Thiessen
e0ba4d71b6
chore: add missing Override attribute to OC
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2026-04-28 21:29:27 +02:00
Jyrki Gadinger
3183aa0ad0
chore(openmetrics): rename app_info metric to app_enbled
...
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org >
2026-04-20 11:41:19 +02:00
Jyrki Gadinger
e7b1b69e66
chore(openmetrics): use "app_id" label instead of "app_name"
...
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org >
2026-04-20 11:38:44 +02:00
Jyrki Gadinger
3e5daac0c5
feat(openmetrics): expose app information per-app
...
Since exporting the app information that way makes the apps count metric
obsolete I removed it as well.
Resolves #59718
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org >
2026-04-20 11:27:55 +02:00
moktamd
1c33307a59
fix(metrics): validate label names in Metric, sanitize in AppsInfo
...
Add validation in the Metric constructor that rejects invalid
OpenMetrics label names with InvalidArgumentException. Sanitize
app IDs at the source in AppsInfo by replacing hyphens with
underscores before creating the Metric.
Fixes nextcloud/server#59247
Signed-off-by: moktamd <moktamd@users.noreply.github.com >
2026-03-31 11:20:40 +00:00
Benjamin Gaussorgues
509784cff2
chore(metrics): harden Cached exporter
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-03-11 13:01:21 +01:00
nextcloud-command
663018455e
refactor: Apply rector changes
...
Signed-off-by: GitHub <noreply@github.com >
2026-03-01 14:43:11 +00:00
Benjamin Gaussorgues
4112b9f7ba
chore(openmetrics): export only "real" files count
...
Other files like files in trashbin or file versions should be exported
by related app
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-02-04 11:12:44 +01:00
Benjamin Gaussorgues
34fe033ace
fix(openmetrics): ensure unit is a suffix of metric name
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-27 10:12:25 +01:00
Kate
afe1c1ebde
Merge pull request #57781 from nextcloud/bugfix/57766/allow-openmetrics-infoxml
2026-01-26 07:11:00 +01:00
Benjamin Gaussorgues
8af5e06b62
Merge pull request #57764 from nextcloud/fix/openmetrics_labels
2026-01-25 22:51:25 +01:00
Kate
1f64141928
Merge pull request #57759 from nextcloud/feat/openmetrics_loglevel
2026-01-25 17:11:37 +01:00
Benjamin Gaussorgues
481fe1574a
fix(openmetrics): fix label names and add test for them
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-24 15:54:35 +01:00
Joas Schilling
cc6f49b762
fix(openmetrics): Make openmetrics always an array like all other infoxml fields
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-01-24 14:17:35 +01:00
Marcel Müller
9cc4daed56
fix(openmetrics): Multiple exporters per app
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de >
2026-01-23 17:35:38 +01:00
Benjamin Gaussorgues
4da7137278
feat(openmetrics): add log level
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-23 16:02:04 +01:00
Benjamin Gaussorgues
1a5ad32063
fix(openmetrics): import right classes
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-08 10:39:46 +01:00
Carl Schwan
6eb1609b35
fix(psalm): Fix InvalidArgument in FilesByType OpenMetrics exporter
...
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-01-07 13:22:39 +01:00
Benjamin Gaussorgues
c57c4843e8
feat(openmetrics): introduce OpenMetrics exporter
...
Expose a `/metrics` endpoint with some basic metrics
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-07 09:38:13 +01:00