Skip to content

Commit

Permalink
Revert "Restore deprecated funcs still in use in third-party dependen…
Browse files Browse the repository at this point in the history
…cies (#5786)" (#5797)

This reverts commit eb47b38.
  • Loading branch information
bogdandrutu authored Aug 3, 2022
1 parent 27fdc2e commit a585d0d
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions pdata/internal/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,33 +388,3 @@ func (ot OptionalType) String() string {
}
return ""
}

// Deprecated: [0.54.0] Use BucketCounts instead.
func (ms HistogramDataPoint) MBucketCounts() []uint64 {
return ms.BucketCounts().AsRaw()
}

// Deprecated: [0.54.0] Use SetBucketCounts instead.
func (ms HistogramDataPoint) SetMBucketCounts(v []uint64) {
ms.SetBucketCounts(NewImmutableUInt64Slice(v))
}

// Deprecated: [0.54.0] Use ExplicitBounds instead.
func (ms HistogramDataPoint) MExplicitBounds() []float64 {
return ms.ExplicitBounds().AsRaw()
}

// Deprecated: [0.54.0] Use SetExplicitBounds instead.
func (ms HistogramDataPoint) SetMExplicitBounds(v []float64) {
ms.SetExplicitBounds(NewImmutableFloat64Slice(v))
}

// Deprecated: [0.54.0] Use BucketCounts instead.
func (ms Buckets) MBucketCounts() []uint64 {
return ms.BucketCounts().AsRaw()
}

// Deprecated: [0.54.0] Use SetBucketCounts instead.
func (ms Buckets) SetMBucketCounts(v []uint64) {
ms.SetBucketCounts(NewImmutableUInt64Slice(v))
}

0 comments on commit a585d0d

Please sign in to comment.