diff --git a/.chloggen/remove-profiles-dictionary.yaml b/.chloggen/remove-profiles-dictionary.yaml new file mode 100644 index 0000000000..b266fae791 --- /dev/null +++ b/.chloggen/remove-profiles-dictionary.yaml @@ -0,0 +1,25 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: breaking + +# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) +component: pdata/pprofile + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Remove deprecated ProfilesDictionary method + +# One or more tracking issues or pull requests related to the change +issues: [13858] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: + +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [api] diff --git a/pdata/pprofile/profiles.go b/pdata/pprofile/profiles.go index 8baa522497..bda6738d46 100644 --- a/pdata/pprofile/profiles.go +++ b/pdata/pprofile/profiles.go @@ -3,11 +3,6 @@ package pprofile // import "go.opentelemetry.io/collector/pdata/pprofile" -// Deprecated: [v0.133.0] use Dictionary(). -func (ms Profiles) ProfilesDictionary() ProfilesDictionary { - return ms.Dictionary() -} - // MarkReadOnly marks the ResourceProfiles as shared so that no further modifications can be done on it. func (ms Profiles) MarkReadOnly() { ms.getState().MarkReadOnly()