zephyr/subsys/net/lib/prometheus/prometheus.ld
Mustafa Abdullah Kus d482e3ddfc net: add initial prometheus client library
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>
2024-10-18 14:17:11 +02:00

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)