Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Kosuke Morimoto <[email protected]>
  • Loading branch information
kmrmt committed Aug 29, 2023
1 parent 225bb86 commit f77d5e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/observability/metrics/mem/malloc/malloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func New() metrics.Metric {
return &mallocMetrics{}
}

func (m *mallocMetrics) View() ([]*metrics.View, error) {
func (*mallocMetrics) View() ([]*metrics.View, error) {
totalFastCount, err := view.New(
view.MatchInstrumentName(totalFastCountMetricsName),
view.WithSetDescription(totalFastCountMetricsDescription),
Expand Down Expand Up @@ -139,7 +139,7 @@ func (m *mallocMetrics) View() ([]*metrics.View, error) {
}, nil
}

func (mm *mallocMetrics) Register(m metrics.Meter) error {
func (*mallocMetrics) Register(m metrics.Meter) error {
totalFastCount, err := m.AsyncInt64().Gauge(
totalFastCountMetricsName,
metrics.WithDescription(totalFastCountMetricsDescription),
Expand Down

0 comments on commit f77d5e4

Please sign in to comment.