1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/api-tests
Andy Green 3f4623bb36 lws_metrics
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.
2021-03-08 21:47:28 +00:00
..
api-test-async-dns async dns: correctly deal with cb killing wsi 2021-02-09 16:56:09 +00:00
api-test-dhcpc dhcp: clean 2021-02-17 11:39:15 +00:00
api-test-fts type comparisons: fixes 2021-01-05 10:56:38 +00:00
api-test-gencrypto cmake: latest cmake shows dep warnings for scripts < 2.8.12 2020-12-06 19:44:54 +00:00
api-test-jose type comparisons: fixes 2021-01-05 10:56:38 +00:00
api-test-lejp cmake: latest cmake shows dep warnings for scripts < 2.8.12 2020-12-06 19:44:54 +00:00
api-test-lws_dsh cmake: latest cmake shows dep warnings for scripts < 2.8.12 2020-12-06 19:44:54 +00:00
api-test-lws_sequencer LE-root-cert-update 2021-01-13 04:32:13 +00:00
api-test-lws_smd smd: account for new interested peers joining while queue exists 2021-02-20 13:54:35 +00:00
api-test-lws_struct-json type comparisons: fixes 2021-01-05 10:56:38 +00:00
api-test-lws_struct_sqlite cmake: latest cmake shows dep warnings for scripts < 2.8.12 2020-12-06 19:44:54 +00:00
api-test-lws_tokenize lws_metrics 2021-03-08 21:47:28 +00:00
api-test-lwsac cmake: latest cmake shows dep warnings for scripts < 2.8.12 2020-12-06 19:44:54 +00:00
api-test-secure-streams type comparisons: fixes 2021-01-05 10:56:38 +00:00
api-test-smtp_client cmake: latest cmake shows dep warnings for scripts < 2.8.12 2020-12-06 19:44:54 +00:00
README.md smtp: make abstract 2019-05-04 08:28:31 +01:00

These are buildable test apps that run in CI to confirm correct api operation.

name tests
api-test-lwsac LWS Allocated Chunks api
api-test-lws_struct-json Selftests for lws_struct JSON serialization and deserialization
api-test-lws_tokenize Generic secure string tokenizer api
api-test-fts LWS Full-text Search api
api-test-gencrypto LWS Generic Crypto apis
api-test-jose LWS JOSE apis
api-test-smtp_client SMTP client for sending emails