prometheus-client-c: prom/include/prom.h Source File

prometheus-client-c 0.1.1 Prometheus client for the C programming language

prom.h
Go to the documentation of this file.
1 /*
2 Copyright 2019 DigitalOcean Inc.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 */
16
118 #ifndef PROM_INCLUDED
119 #define PROM_INCLUDED
120
121 #include "prom_alloc.h"
122 #include "prom_collector.h"
123 #include "prom_collector_registry.h"
124 #include "prom_counter.h"
125 #include "prom_gauge.h"
126 #include "prom_histogram.h"
127 #include "prom_histogram_buckets.h"
128 #include "prom_linked_list.h"
129 #include "prom_map.h"
130 #include "prom_metric.h"
131 #include "prom_metric_sample.h"
132 #include "prom_metric_sample_histogram.h"
133
134 #endif // PROM_INCLUDED
prom_gauge.h
https://prometheus.io/docs/concepts/metric_types/#gauge
prom_collector.h
A Prometheus collector returns a collection of metrics.
prom_histogram.h
https://prometheus.io/docs/concepts/metric_types/#histogram
prom_metric_sample.h
Functions for interfacting with metric samples directly.
prom_counter.h
https://prometheus.io/docs/concepts/metric_types/#counter
prom_metric_sample_histogram.h
Functions for interacting with histogram metric samples directly.
prom_alloc.h
memory management
prom_metric.h
Functions for retrieving metric samples from metrics given an ordered set of labels.
prom_collector_registry.h
The collector registry registers collectors for metric exposition.
prom_histogram_buckets.h
https://prometheus.io/docs/concepts/metric_types/#histogram