Skip to content

Commit 40ff4f8

Browse files
committed
Update APIs
1 parent ea4b5e4 commit 40ff4f8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

opentelemetry-otlp/src/logs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub enum LogExporterBuilder {
5858

5959
impl LogExporterBuilder {
6060
/// Build a OTLP log exporter using the given configuration.
61-
pub fn build_log_exporter(self) -> Result<LogExporter, LogError> {
61+
fn build_log_exporter(self) -> Result<LogExporter, LogError> {
6262
match self {
6363
#[cfg(feature = "grpc-tonic")]
6464
LogExporterBuilder::Tonic(builder) => builder.build_log_exporter(),

opentelemetry-otlp/src/metric.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub enum MetricsExporterBuilder {
7474

7575
impl MetricsExporterBuilder {
7676
/// Build a OTLP metrics exporter with given configuration.
77-
pub fn build_metrics_exporter(self, temporality: Temporality) -> Result<MetricsExporter> {
77+
fn build_metrics_exporter(self, temporality: Temporality) -> Result<MetricsExporter> {
7878
match self {
7979
#[cfg(feature = "grpc-tonic")]
8080
MetricsExporterBuilder::Tonic(builder) => builder.build_metrics_exporter(temporality),

opentelemetry-otlp/src/span.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ pub enum SpanExporterBuilder {
174174

175175
impl SpanExporterBuilder {
176176
/// Build a OTLP span exporter using the given tonic configuration and exporter configuration.
177-
pub fn build_span_exporter(self) -> Result<SpanExporter, TraceError> {
177+
fn build_span_exporter(self) -> Result<SpanExporter, TraceError> {
178178
match self {
179179
#[cfg(feature = "grpc-tonic")]
180180
SpanExporterBuilder::Tonic(builder) => builder.build_span_exporter(),

0 commit comments

Comments
 (0)