-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into recordable-spandata
- Loading branch information
Showing
44 changed files
with
1,013 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
exporters/otlp/include/opentelemetry/exporters/otlp/otlp_grpc_log_exporter_factory.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Copyright The OpenTelemetry Authors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#pragma once | ||
|
||
#ifdef ENABLE_LOGS_PREVIEW | ||
|
||
# include "opentelemetry/exporters/otlp/otlp_grpc_exporter_options.h" | ||
# include "opentelemetry/sdk/logs/exporter.h" | ||
|
||
OPENTELEMETRY_BEGIN_NAMESPACE | ||
namespace exporter | ||
{ | ||
namespace otlp | ||
{ | ||
|
||
/** | ||
* Factory class for OtlpGrpcLogExporter. | ||
*/ | ||
class OtlpGrpcLogExporterFactory | ||
{ | ||
public: | ||
/** | ||
* Create a OtlpGrpcLogExporter. | ||
*/ | ||
static std::unique_ptr<opentelemetry::sdk::logs::LogExporter> Create(); | ||
|
||
/** | ||
* Create a OtlpGrpcLogExporter. | ||
*/ | ||
static std::unique_ptr<opentelemetry::sdk::logs::LogExporter> Create( | ||
const OtlpGrpcExporterOptions &options); | ||
}; | ||
|
||
} // namespace otlp | ||
} // namespace exporter | ||
OPENTELEMETRY_END_NAMESPACE | ||
|
||
#endif /* ENABLE_LOGS_PREVIEW */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
exporters/otlp/include/opentelemetry/exporters/otlp/otlp_http_log_exporter_factory.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Copyright The OpenTelemetry Authors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#pragma once | ||
#ifdef ENABLE_LOGS_PREVIEW | ||
|
||
# include "opentelemetry/exporters/otlp/otlp_http_log_exporter_options.h" | ||
# include "opentelemetry/sdk/logs/exporter.h" | ||
|
||
# include <memory> | ||
|
||
OPENTELEMETRY_BEGIN_NAMESPACE | ||
namespace exporter | ||
{ | ||
namespace otlp | ||
{ | ||
|
||
/** | ||
* Factory class for OtlpHttpLogExporter. | ||
*/ | ||
class OtlpHttpLogExporterFactory | ||
{ | ||
public: | ||
/** | ||
* Create a OtlpHttpLogExporter. | ||
*/ | ||
static std::unique_ptr<opentelemetry::sdk::logs::LogExporter> Create(); | ||
|
||
/** | ||
* Create a OtlpHttpLogExporter. | ||
*/ | ||
static std::unique_ptr<opentelemetry::sdk::logs::LogExporter> Create( | ||
const OtlpHttpLogExporterOptions &options); | ||
}; | ||
|
||
} // namespace otlp | ||
} // namespace exporter | ||
OPENTELEMETRY_END_NAMESPACE | ||
#endif |
Oops, something went wrong.