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/* maximum length of label key */
20#define MAX_PROMETHEUS_LABEL_KEY_LENGTH 16
21/* maximum length of label value */
22#define MAX_PROMETHEUS_LABEL_VALUE_LENGTH 16
23/* maximum namber of labels per metric */
24#define MAX_PROMETHEUS_LABELS_PER_METRIC 5
25
37
42#endif /* ZEPHYR_INCLUDE_PROMETHEUS_LABEL_H_ */
#define MAX_PROMETHEUS_LABEL_VALUE_LENGTH
Definition label.h:22
#define MAX_PROMETHEUS_LABEL_KEY_LENGTH
Definition label.h:20
Prometheus label definition.
Definition label.h:31
char value[16]
Prometheus metric label value.
Definition label.h:35
char key[16]
Prometheus metric label key.
Definition label.h:33