NVIDIA DeepStream SDK API Reference
8.0 Release
sources/includes/prometheus/serializer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <iosfwd>
4
#include <string>
5
#include <vector>
6
7
#include "prometheus/detail/core_export.h"
8
#include "prometheus/metric_family.h"
9
10
namespace
prometheus
{
11
12
class
PROMETHEUS_CPP_CORE_EXPORT
Serializer
{
13
public
:
14
virtual
~
Serializer
() =
default
;
15
virtual
std::string Serialize(
const
std::vector<MetricFamily>&)
const
;
16
virtual
void
Serialize(std::ostream& out,
17
const
std::vector<MetricFamily>& metrics)
const
= 0;
18
};
19
20
}
// namespace prometheus
prometheus::Serializer
Definition:
sources/includes/prometheus/serializer.h:12
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:37 | PR-09318-R32