Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Export more metrics via ocs/v2.php/apps/serverinfo/api/v1/info

オープン
#464 コメント 1 件 リアクション 5 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
grafana, javascript, prometheus
領域
api, observability

調査の方向性

/ocs/v2.php/apps/serverinfo/api/v1/info の serverinfo エンドポイントから始め、現在のストレージメトリクスがどのように生成されているかを確認します。外部 S3 ストレージを含む要求されたグローバル使用量を、可能なユーザースコープおよび user_usage_report アプリと比較します。エンドポイントが合意されたグローバルストレージメトリクスを公開し、その動作を監視ダッシュボードで検証できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

0. Needs triage enhancement
How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
I want to have a general overview of Nextcloud usage via Grafana/Prometheus + nextcloud-exporter.
But the data coming from the API /ocs/v2.php/apps/serverinfo/api/v1/info lak at least one very useful information : the storage used, even if primary storage is on an external S3 system.
I don't know if it's possible to go further and add storage by user (perhaps not in that general API but associated with the app https://apps.nextcloud.com/apps/user_usage_report)
Perhaps that's what should be in the actual num_storages_other metric ?

Describe the solution you'd like
I'd like to see global storage usage in /ocs/v2.php/apps/serverinfo/api/v1/info, not only for local storage.

Describe alternatives you've considered
I'm in the process of trying an SQL query Prometheus exporter (https://github.com/albertodonato/query-exporter), to see if I can get total and user usage in my Grafana Dashboard.

主要言語
JavaScript
スター
133
フォーク
67
平均マージ
22時間 11分
マージ済み PR(30日)
55

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/serverinfo のほかの issue

nextcloud/serverinfo の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。