From 9a732fdc3352ca35ead86aca746161a4bd75feb6 Mon Sep 17 00:00:00 2001 From: Francisco Valente Castro <1435136+franciscovalentecastro@users.noreply.github.com> Date: Mon, 4 Mar 2024 10:21:04 -0500 Subject: [PATCH] Update example/metric/exponential_histogram/example.go Co-authored-by: David Ashpole Signed-off-by: Francisco Valente Castro <1435136+franciscovalentecastro@users.noreply.github.com> --- example/metric/exponential_histogram/example.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/example/metric/exponential_histogram/example.go b/example/metric/exponential_histogram/example.go index 5e91edd60..b9430f43b 100644 --- a/example/metric/exponential_histogram/example.go +++ b/example/metric/exponential_histogram/example.go @@ -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) }