Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
label.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Mustafa Abdullah Kus, Sparse Technology
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_PROMETHEUS_LABEL_H_
8
#define ZEPHYR_INCLUDE_PROMETHEUS_LABEL_H_
9
19
#if defined(CONFIG_PROMETHEUS)
21
#define MAX_PROMETHEUS_LABELS_PER_METRIC CONFIG_PROMETHEUS_LABEL_MAX_COUNT
22
#else
23
#define MAX_PROMETHEUS_LABELS_PER_METRIC 1
24
#endif
/* CONFIG_PROMETHEUS */
25
31
struct
prometheus_label
{
33
const
char
*
key
;
35
const
char
*
value
;
36
};
37
42
#endif
/* ZEPHYR_INCLUDE_PROMETHEUS_LABEL_H_ */
prometheus_label
Prometheus label definition.
Definition
label.h:31
prometheus_label::value
const char * value
Prometheus metric label value.
Definition
label.h:35
prometheus_label::key
const char * key
Prometheus metric label key.
Definition
label.h:33
zephyr
net
prometheus
label.h
Generated on Fri Dec 20 2024 06:02:32 for Zephyr API Documentation by
1.12.0