NVIDIA DeepStream SDK API Reference

9.2 Release
includes/opentelemetry/sdk/common/exporter_utils.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/version.h"
7 
9 namespace sdk
10 {
11 namespace common
12 {
16 enum class ExportResult
17 {
18  // Batch was exported successfully.
19  kSuccess = 0,
20 
21  // Batch exporting failed, caller must not retry exporting the same batch
22  // and the batch must be dropped.
23  kFailure = 1,
24 
25  // The collection does not have enough space to receive the export batch.
26  kFailureFull = 2,
27 
28  // The export() function was passed an invalid argument.
30 };
31 
32 } // namespace common
33 } // namespace sdk
sdk::common::ExportResult
ExportResult
ExportResult is returned as result of exporting a batch of Records.
Definition: includes/opentelemetry/sdk/common/exporter_utils.h:16
sdk::common::ExportResult::kFailure
@ kFailure
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition: includes/opentelemetry/version.h:21
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition: includes/opentelemetry/version.h:24
sdk
Definition: includes/opentelemetry/sdk/common/atomic_shared_ptr.h:13
sdk::common::ExportResult::kFailureFull
@ kFailureFull
sdk::common::ExportResult::kSuccess
@ kSuccess
common
Definition: includes/opentelemetry/common/attribute_value.h:14
sdk::common::ExportResult::kFailureInvalidArgument
@ kFailureInvalidArgument