diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-05-13 22:09:39 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-05-13 22:09:39 +0300 |
| commit | d890a1313df666dcc52b85fa07aa989865b4d18e (patch) | |
| tree | a840eed0bca3c16d7d6b5de3b01beb32de21dafd /kernel | |
| parent | d611c3240863f79029ab48d492659a67f82465d9 (diff) | |
| download | accel-ppp-d890a1313df666dcc52b85fa07aa989865b4d18e.tar.gz accel-ppp-d890a1313df666dcc52b85fa07aa989865b4d18e.zip | |
metrics: scaffold module with config parsing
Add a new extra module `metrics` that will eventually expose statistics
over HTTP. This first commit only:
* creates accel-pppd/extra/metrics.c with an init() that parses the
[metrics] section options `format` (prometheus|json) and
`address` (host:port);
* wires the new shared library into the extras CMakeLists.
No listener, no metrics rendering yet — those land in follow-up
commits. With this commit alone, loading the `metrics` module just
logs the configured listen address and format and is otherwise inert.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
