Skip to content

Commit

Permalink
Update example/metric/exponential_histogram/example.go
Browse files Browse the repository at this point in the history
Co-authored-by: David Ashpole <dashpole@google.com>
Signed-off-by: Francisco Valente Castro <1435136+franciscovalentecastro@users.noreply.github.com>
  • Loading branch information
franciscovalentecastro and dashpole authored Mar 4, 2024
1 parent 2d54159 commit 9a732fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/metric/exponential_histogram/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ func main() {
}

// Create exporter pipeline
exporter, err := mexporter.New(
mexporter.WithMetricDescriptorTypeFormatter(workloadMetricsPrefixFormatter),
)
exporter, err := mexporter.New()
if err != nil {
log.Fatalf("Failed to create exporter: %v", err)
}
Expand Down

0 comments on commit 9a732fd

Please sign in to comment.