The sample uses the Zephyr HTTP server library and demonstrates the Prometheus metric server node. Prometheus client library runs as a pull method. The sample contains the HTTP request counter and increases when refresh path of '/metrics' from the browser. Signed-off-by: Mustafa Abdullah Kus <mustafa.kus@sparsetechnology.com>
5 lines
217 B
Plaintext
5 lines
217 B
Plaintext
#include <zephyr/linker/iterable_sections.h>
|
|
|
|
ITERABLE_SECTION_ROM(http_resource_desc_test_http_service, Z_LINK_ITERABLE_SUBALIGN)
|
|
ITERABLE_SECTION_ROM(http_resource_desc_test_https_service, Z_LINK_ITERABLE_SUBALIGN)
|