Home
last modified time | relevance | path

Searched full:prometheus (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-latest/include/zephyr/net/prometheus/
Dmetric.h14 * @brief Prometheus metric interface.
16 * @addtogroup prometheus
22 #include <zephyr/net/prometheus/label.h>
25 * @brief Prometheus metric types.
28 * * See https://prometheus.io/docs/concepts/metric_types
31 /** Prometheus Counter */
33 /** Prometheus Gauge */
35 /** Prometheus Summary */
37 /** Prometheus Histogram */
42 * @brief Type used to represent a Prometheus metric base.
[all …]
Dlabel.h13 * @brief Prometheus label interface.
15 * @addtogroup prometheus
27 * @brief Prometheus label definition.
29 * This structure defines a Prometheus label.
32 /** Prometheus metric label key */
34 /** Prometheus metric label value */
Dformatter.h13 * @brief Prometheus formatter APIs.
15 * @addtogroup prometheus
19 #include <zephyr/net/prometheus/collector.h>
22 * @brief Format exposition data for Prometheus
25 * Function will format metric data according to Prometheus text-based format
37 * @brief Format exposition data for one metric for Prometheus
40 * Function will format metric data according to Prometheus text-based format.
Dgauge.h14 * @brief Prometheus gauge APIs.
16 * @addtogroup prometheus
21 #include <zephyr/net/prometheus/metric.h>
24 * @brief Type used to represent a Prometheus gauge metric.
27 * * See https://prometheus.io/docs/concepts/metric_types/#gauge
30 /** Base of the Prometheus gauge metric */
32 /** Value of the Prometheus gauge metric */
39 * @brief Prometheus Gauge definition.
75 * @brief Set the value of a Prometheus gauge metric
Dhistogram.h14 * @brief Prometheus histogram APIs.
16 * @addtogroup prometheus
21 #include <zephyr/net/prometheus/metric.h>
26 * @brief Prometheus histogram bucket definition.
28 * This structure defines a Prometheus histogram bucket.
38 * @brief Type used to represent a Prometheus histogram metric.
41 * * See https://prometheus.io/docs/concepts/metric_types/#histogram
44 /** Base of the Prometheus histogram metric */
59 * @brief Prometheus Histogram definition.
98 * @brief Observe a value in a Prometheus histogram metric
Dsummary.h14 * @brief Prometheus summary APIs.
16 * @addtogroup prometheus
21 #include <zephyr/net/prometheus/metric.h>
26 * @brief Prometheus summary quantile definition.
28 * This structure defines a Prometheus summary quantile.
40 * @brief Type used to represent a Prometheus summary metric.
43 * * See https://prometheus.io/docs/concepts/metric_types/#summary
46 /** Base of the Prometheus summary metric */
48 /** Array of quantiles associated with the Prometheus summary metric */
50 /** Number of quantiles associated with the Prometheus summary metric */
[all …]
Dcounter.h14 * @brief Prometheus counter APIs.
16 * @addtogroup prometheus
23 #include <zephyr/net/prometheus/metric.h>
26 * @brief Type used to represent a Prometheus counter metric.
29 * * See https://prometheus.io/docs/concepts/metric_types/#counter
32 /** Base of the Prometheus counter metric */
34 /** Value of the Prometheus counter metric */
41 * @brief Prometheus Counter definition.
76 * @brief Increment the value of a Prometheus counter metric
85 * @brief Increment the value of a Prometheus counter metric
Dcollector.h14 * @brief Prometheus collector APIs.
16 * @defgroup prometheus Prometheus API
25 #include <zephyr/net/prometheus/metric.h>
46 * @brief Prometheus collector definition
48 * This structure defines a Prometheus collector.
66 * @brief Prometheus Collector definition.
93 * @brief Register a metric with a Prometheus collector
108 * @brief Get a metric from a Prometheus collector
137 * @brief Walk through all metrics in a Prometheus collector and format them
/Zephyr-latest/subsys/net/lib/prometheus/
DKconfig4 menuconfig PROMETHEUS config
5 bool "Prometheus Client Library (Pull Method)"
9 Enable Prometheus client library
11 if PROMETHEUS
20 module = PROMETHEUS
22 module-str = Log level for PROMETHEUS
23 module-help = Enable debug message of PROMETHEUS client library.
26 endif # PROMETHEUS
Dcollector.c8 #include <zephyr/net/prometheus/collector.h>
10 #include <zephyr/net/prometheus/metric.h>
11 #include <zephyr/net/prometheus/histogram.h>
12 #include <zephyr/net/prometheus/summary.h>
13 #include <zephyr/net/prometheus/counter.h>
14 #include <zephyr/net/prometheus/gauge.h>
15 #include <zephyr/net/prometheus/formatter.h>
Dformatter.c8 #include <zephyr/net/prometheus/formatter.h>
9 #include <zephyr/net/prometheus/collector.h>
10 #include <zephyr/net/prometheus/metric.h>
11 #include <zephyr/net/prometheus/histogram.h>
12 #include <zephyr/net/prometheus/summary.h>
13 #include <zephyr/net/prometheus/gauge.h>
14 #include <zephyr/net/prometheus/counter.h>
/Zephyr-latest/samples/net/prometheus/
DREADME.rst1 .. zephyr:code-sample:: prometheus
2 :name: Prometheus Sample
3 :relevant-api: http_service http_server tls_credentials prometheus
5 Implement a Prometheus Metric Server demonstrating various metric types.
10 This sample application demonstrates the use of the ``prometheus`` library.
11 This library provides prometheus client library(pull method) implementation.
13 via an HTTP endpoint on your application's instance, enabling Prometheus to
27 :zephyr-app: samples/net/prometheus
39 See `Prometheus client library documentation
40 <https://prometheus.io/docs/instrumenting/clientlibs/>`_.
[all …]
Dsample.yaml2 description: Prometheus Client Sample
12 - prometheus
19 sample.net.prometheus: {}
DKconfig1 # Config options for prometheus sample application
6 mainmenu "Prometheus sample application"
Dprj.conf16 # Prometheus
88 # Network statistics Prometheus support
/Zephyr-latest/samples/net/prometheus/src/
Dstats.c18 #include <zephyr/net/prometheus/formatter.h>
19 #include <zephyr/net/prometheus/collector.h>
20 #include <zephyr/net/prometheus/counter.h>
21 #include <zephyr/net/prometheus/gauge.h>
22 #include <zephyr/net/prometheus/histogram.h>
23 #include <zephyr/net/prometheus/summary.h>
Dmain.c16 #include <zephyr/net/prometheus/formatter.h>
17 #include <zephyr/net/prometheus/collector.h>
18 #include <zephyr/net/prometheus/counter.h>
19 #include <zephyr/net/prometheus/gauge.h>
20 #include <zephyr/net/prometheus/histogram.h>
21 #include <zephyr/net/prometheus/summary.h>
/Zephyr-latest/tests/net/lib/prometheus/collector/
Dtestcase.yaml3 net.prometheus.collector:
11 tags: prometheus
/Zephyr-latest/tests/net/lib/prometheus/counter/
Dtestcase.yaml3 net.prometheus.counter:
11 tags: prometheus
/Zephyr-latest/tests/net/lib/prometheus/formatter/
Dtestcase.yaml3 net.prometheus.formatter:
11 tags: prometheus
/Zephyr-latest/tests/net/lib/prometheus/gauge/
Dtestcase.yaml3 net.prometheus.gauge:
11 tags: prometheus
/Zephyr-latest/tests/net/lib/prometheus/histogram/
Dtestcase.yaml3 net.prometheus.histogram:
11 tags: prometheus
/Zephyr-latest/tests/net/lib/prometheus/summary/
Dtestcase.yaml3 net.prometheus.summary:
11 tags: prometheus
/Zephyr-latest/tests/net/lib/prometheus/formatter/src/
Dmain.c9 #include <zephyr/net/prometheus/counter.h>
10 #include <zephyr/net/prometheus/collector.h>
11 #include <zephyr/net/prometheus/formatter.h>
23 * @brief Test Prometheus formatter
/Zephyr-latest/tests/net/lib/prometheus/collector/src/
Dmain.c9 #include <zephyr/net/prometheus/counter.h>
10 #include <zephyr/net/prometheus/collector.h>

12