Skip to content

Commit

Permalink
chore: test with removing views
Browse files Browse the repository at this point in the history
  • Loading branch information
derrandz committed Feb 1, 2023
1 parent cb9d544 commit 166aa45
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions nodebuilder/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ func initializeMetrics(
}

provider := metric.NewMeterProvider(
metric.WithView(metric.NewView(
metric.Instrument{Kind: metric.InstrumentKindSyncHistogram},
metric.Stream{
Name: "celestia.metrics",
Aggregation: exp.Aggregation(metric.InstrumentKindSyncHistogram),
},
)),
// metric.WithView(metric.NewView(
// metric.Instrument{Kind: metric.InstrumentKindSyncHistogram},
// metric.Stream{
// Name: "celestia.metrics",
// Aggregation: exp.Aggregation(metric.InstrumentKindSyncHistogram),
// },
// )),
metric.WithReader(metric.NewPeriodicReader(exp, metric.WithTimeout(2*time.Second))),
metric.WithResource(resource.NewWithAttributes(
semconv.SchemaURL,
Expand Down

0 comments on commit 166aa45

Please sign in to comment.