NVIDIA DeepStream SDK API Reference

8.0 Release
sources/includes/prometheus/info.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "prometheus/client_metric.h"
4 #include "prometheus/detail/builder.h" // IWYU pragma: export
5 #include "prometheus/detail/core_export.h"
6 #include "prometheus/metric_type.h"
7 
8 namespace prometheus {
9 
15 
27  public:
28  static const MetricType metric_type{MetricType::Info};
29 
31  Info() = default;
32 
36  ClientMetric Collect() const;
37 };
38 
66 PROMETHEUS_CPP_CORE_EXPORT detail::Builder<Info> BuildInfo();
67 
68 } // namespace prometheus
prometheus::BuildInfo
PROMETHEUS_CPP_CORE_EXPORT detail::Builder< Info > BuildInfo()
Return a builder to configure and register a Info metric.
prometheus::MetricType::Info
@ Info
prometheus::ClientMetric
Definition: sources/includes/prometheus/client_metric.h:12
prometheus::Info
A info metric to represent textual information which should not change during process lifetime.
Definition: sources/includes/prometheus/info.h:26
prometheus::MetricType
MetricType
Definition: sources/includes/prometheus/metric_type.h:5
prometheus
Definition: sources/includes/prometheus/check_names.h:8
PROMETHEUS_CPP_CORE_EXPORT
#define PROMETHEUS_CPP_CORE_EXPORT
Definition: sources/includes/prometheus/detail/core_export.h:15