Export more metrics via ocs/v2.php/apps/serverinfo/api/v1/info
メンテナーはふだん 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 の本文から書いたものです。
説明
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/serverinfo のほかの issue
-
Database checks: `Select_full_join` warning is caused by the setup checks' own schema introspectionオープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nextcloud/serverinfo#1245 ·
メンテナーはふだん 1 日以内に返信
-
Database checks: ∞% reported as Failing when counter is zero; no way to acknowledge/mute a checkオープン0. Needs triage bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
nextcloud/serverinfo#1231 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
nextcloud/serverinfo#1224 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
nextcloud/serverinfo#1223 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
nextcloud/serverinfo#1221 ·
メンテナーはふだん 1 日以内に返信
nextcloud/serverinfo の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
glossyio/traffic-monitor#255 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
juice-shop/juice-shop#3706 ·
メンテナーはふだん 1 日以内に返信
-
Main workflow runs twice for newly created refs対応中かも @rustyconover が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
duckdb/duckdb-wasm#2293 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4115 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
outline/outline#14348 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信