Files
Yuna VerheydenandGitHub 1ab7a14a6c Distributor shim: add test verifying receiver works (including metrics) (#4477)
* Distributor shim: add test verifying receiver works (including metrics)

* Add word

* Add CHANGELOG.md

* drop pointer receiver
2024-12-19 15:24:41 +00:00

11 lines
256 B
Go

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package testdata
import "go.opentelemetry.io/collector/pdata/pcommon"
func initResource(r pcommon.Resource) {
r.Attributes().PutStr("resource-attr", "resource-attr-val-1")
}