NVIDIA DeepStream SDK API Reference
8.0 Release
sources/includes/prometheus/collectable.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "prometheus/detail/core_export.h"
6
7
namespace
prometheus
{
8
struct
MetricFamily;
9
}
10
11
namespace
prometheus
{
12
17
class
PROMETHEUS_CPP_CORE_EXPORT
Collectable
{
18
public
:
19
virtual
~
Collectable
() =
default
;
20
22
virtual
std::vector<MetricFamily> Collect()
const
= 0;
23
};
24
25
}
// namespace prometheus
prometheus::Collectable
Interface implemented by anything that can be used by Prometheus to collect metrics.
Definition:
sources/includes/prometheus/collectable.h:17
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
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Tue Mar 17 2026 09:30:34 | PR-09318-R32