Important
このライブラリはメンテナンスモードで、バグフィックスのみ対応します
新しい Kohaku の公開までは 2023.1.1 をご利用ください。
https://github.com/shiguredo/kohaku/tree/2023.1.1
現在、新しい Kohaku を開発中です。新しい Kohaku はレガシー版の Kohaku とは互換性がありません。
新しい Kohaku は WebRTC Stats Analyzer Kohaku として、 複数の OSS を組み合わせたソリューションを提供予定です。
- Grafana
- Grafana DuckDB DataSource Plugin
- DuckDB
- Fluent Bit
- MinIO
- S3 または S3 互換オブジェクトストレージサービスを利用可能
今までの Sora は TimescaleDB にデータを保存していましたが、統計やログの情報は膨大なためスケールが難しいという課題がありました。また、Kohaku を運用するコストもかかります。
その課題を解決するため、統計エクスポーターや統計ウェブフックなどを利用せず、Sora が出力するログをオブジェクトストレージに転送し、それを DuckDB で解析するという仕組みを採用しました。
スケールさせやすいオブジェクトストレージを軸とし、DuckDB での解析と Grafana での可視化を行う仕組みを提供予定です。
2025 年の春までには公開予定です。
We will not respond to PRs or issues that have not been discussed on Discord. Also, Discord is only available in Japanese.
Please read https://github.com/shiguredo/oss/blob/master/README.en.md before use.
利用前に https://github.com/shiguredo/oss をお読みください。
Apache License 2.0
Copyright 2021-2025, Hiroshi Yoshida (Original Author)
Copyright 2021-2025, Shiguredo Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- [備忘録] WebRTC Stats Collector Kohaku を触ってみた
- 二世代前の Kohaku のため、このままでは動作しません
- 導入からグラフ化までを一通り試した良記事