NVIDIA DeepStream SDK API Reference
9.2 Release
includes/opentelemetry/exporters/otlp/otlp_http.h
Go to the documentation of this file.
1
// Copyright The OpenTelemetry Authors
2
// SPDX-License-Identifier: Apache-2.0
3
4
#pragma once
5
6
#include "opentelemetry/nostd/string_view.h"
7
#include "opentelemetry/version.h"
8
9
OPENTELEMETRY_BEGIN_NAMESPACE
10
namespace
exporter
11
{
12
namespace
otlp
13
{
14
15
enum class
JsonBytesMappingKind
16
{
17
kHexId
,
18
kHex
,
19
kBase64
,
20
};
21
22
enum class
HttpRequestContentType
23
{
24
kJson
,
25
kBinary
,
26
};
27
28
OPENTELEMETRY_EXPORT
HttpRequestContentType
29
GetOtlpHttpProtocolFromString
(
nostd::string_view
name) noexcept;
30
31
}
// namespace otlp
32
}
// namespace exporter
33
OPENTELEMETRY_END_NAMESPACE
OPENTELEMETRY_EXPORT
#define OPENTELEMETRY_EXPORT
Definition:
includes/opentelemetry/common/macros.h:386
exporter::otlp::JsonBytesMappingKind
JsonBytesMappingKind
Definition:
includes/opentelemetry/exporters/otlp/otlp_http.h:15
exporter::otlp::GetOtlpHttpProtocolFromString
OPENTELEMETRY_EXPORT HttpRequestContentType GetOtlpHttpProtocolFromString(nostd::string_view name) noexcept
exporter
Definition:
includes/opentelemetry/exporters/memory/in_memory_data.h:11
exporter::otlp::HttpRequestContentType::kJson
@ kJson
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition:
includes/opentelemetry/version.h:21
exporter::otlp::HttpRequestContentType::kBinary
@ kBinary
exporter::otlp::JsonBytesMappingKind::kBase64
@ kBase64
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition:
includes/opentelemetry/version.h:24
exporter::otlp::JsonBytesMappingKind::kHex
@ kHex
exporter::otlp::HttpRequestContentType
HttpRequestContentType
Definition:
includes/opentelemetry/exporters/otlp/otlp_http.h:22
exporter::otlp::JsonBytesMappingKind::kHexId
@ kHexId
nostd::string_view
Back port of std::string_view to work with pre-cpp-17 compilers.
Definition:
includes/opentelemetry/nostd/string_view.h:37
Privacy Policy
|
Your Privacy Choices
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Wed Oct 28 2026 12:02:33 | PR-09318-R32