mirror of
https://libwebsockets.org/repo/libwebsockets
synced 2024-11-24 01:39:33 +00:00
3f4623bb36
There are a few build options that are trying to keep and report various statistics - DETAILED_LATENCY - SERVER_STATUS - WITH_STATS remove all those and establish a generic rplacement, lws_metrics. lws_metrics makes its stats available via an lws_system ops function pointer that the user code can set. Openmetrics export is supported, for, eg, prometheus scraping.
11 lines
137 B
CMake
11 lines
137 B
CMake
include_directories(.)
|
|
|
|
if (LWS_WITH_SYS_METRICS)
|
|
list(APPEND SOURCES
|
|
system/metrics/metrics.c
|
|
)
|
|
endif()
|
|
|
|
exports_to_parent_scope()
|
|
|