From 948853f7e29c61cfee2676cf5776e37938f3d26e Mon Sep 17 00:00:00 2001 From: Rong Hu Date: Thu, 20 Jun 2024 12:40:18 -0700 Subject: [PATCH] changelog --- .../feature-statsdreceiver-optimizations.yaml | 27 +++++++++++++++++++ .../internal/transport/split_bytes.go | 5 +++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .chloggen/feature-statsdreceiver-optimizations.yaml diff --git a/.chloggen/feature-statsdreceiver-optimizations.yaml b/.chloggen/feature-statsdreceiver-optimizations.yaml new file mode 100644 index 000000000000..8712b7ee5c1a --- /dev/null +++ b/.chloggen/feature-statsdreceiver-optimizations.yaml @@ -0,0 +1,27 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) +component: statsdreceiver + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Optimize statsdreceiver to reduce object allocations + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +issues: [33683] + +# (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: + +# If your change doesn't affect end users or the exported elements of any package, +# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. +# 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: [user] diff --git a/receiver/statsdreceiver/internal/transport/split_bytes.go b/receiver/statsdreceiver/internal/transport/split_bytes.go index bd07a83db2d5..facc06749124 100644 --- a/receiver/statsdreceiver/internal/transport/split_bytes.go +++ b/receiver/statsdreceiver/internal/transport/split_bytes.go @@ -1,4 +1,7 @@ -package transport +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package transport // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver/internal/transport" import "bytes"