Skip to content

Commit

Permalink
fix unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyuancheung committed Jul 14, 2022
1 parent 3c344c7 commit 8f5f501
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sdk/metric/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"context"
"fmt"

"go.opentelemetry.io/otel/sdk/metric/export"
"go.opentelemetry.io/otel/sdk/metric/metricdata"
)

// ErrExporterShutdown is returned if Export or Shutdown are called after an
Expand All @@ -41,7 +41,7 @@ type Exporter interface {
// implement any retry logic. All errors returned by this function are
// considered unrecoverable and will be reported to a configured error
// Handler.
Export(context.Context, export.ResourceMetrics) error
Export(context.Context, metricdata.ResourceMetrics) error

// ForceFlush flushes any metric data held by an exporter.
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// TODO: NOTE this is a temporary space, it may be moved following the
// discussion of #2813, or #2841

package export // import "go.opentelemetry.io/otel/sdk/metric/export"
package metricdata // import "go.opentelemetry.io/otel/sdk/metric/metricdata"

import (
"time"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//go:build go1.17
// +build go1.17

package export // import "go.opentelemetry.io/otel/sdk/metric/export"
package metricdata // import "go.opentelemetry.io/otel/sdk/metric/metricdata"

// Temporality defines the window that an aggregation was calculated over.
type Temporality uint8
Expand Down

0 comments on commit 8f5f501

Please sign in to comment.