The library provides Prometheus metrics types, collector and exposion formatter. The library isn't thread-safe for now. The next first pull request will support that. Can be use exposion formatted output with Zephyr Http server. Signed-off-by: Mustafa Abdullah Kus <mustafa.kus@sparsetechnology.com>
12 lines
449 B
Plaintext
12 lines
449 B
Plaintext
/*
|
|
* Copyright (c) 2024 Mustafa Abdullah Kus, Sparse Technology
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
ITERABLE_SECTION_RAM(prometheus_counter, Z_LINK_ITERABLE_SUBALIGN)
|
|
ITERABLE_SECTION_RAM(prometheus_gauge, Z_LINK_ITERABLE_SUBALIGN)
|
|
ITERABLE_SECTION_RAM(prometheus_histogram, Z_LINK_ITERABLE_SUBALIGN)
|
|
ITERABLE_SECTION_RAM(prometheus_summary, Z_LINK_ITERABLE_SUBALIGN)
|
|
ITERABLE_SECTION_RAM(prometheus_collector, Z_LINK_ITERABLE_SUBALIGN)
|