Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
collector.h File Reference

Prometheus collector APIs. More...

#include <zephyr/sys/iterable_sections.h>
#include <zephyr/net/prometheus/metric.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  prometheus_collector
 Prometheus collector definition. More...
 

Macros

#define PROMETHEUS_COLLECTOR_DEFINE(_name)
 Prometheus Collector definition.
 

Functions

int prometheus_collector_register_metric (struct prometheus_collector *collector, struct prometheus_metric *metric)
 Register a metric with a Prometheus collector.
 
const void * prometheus_collector_get_metric (const struct prometheus_collector *collector, const char *name)
 Get a metric from a Prometheus collector.
 

Detailed Description

Prometheus collector APIs.