mirror of
https://github.com/hanzoai/traces.git
synced 2026-11-03 04:05:45 +00:00
* Distributor shim: add test verifying receiver works (including metrics) * Add word * Add CHANGELOG.md * drop pointer receiver
11 lines
256 B
Go
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")
|
|
}
|