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>
18 lines
294 B
YAML
18 lines
294 B
YAML
sample:
|
|
description: Prometheus Client Sample
|
|
name: prometheus_client_sample
|
|
common:
|
|
harness: net
|
|
min_ram: 192
|
|
tags:
|
|
- http
|
|
- net
|
|
- server
|
|
- socket
|
|
- prometheus
|
|
platform_exclude:
|
|
- native_posix
|
|
- native_posix/native/64
|
|
tests:
|
|
sample.net.prometheus: {}
|