| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
package testdata |
| 5 |
|
| 6 |
import "go.opentelemetry.io/collector/pdata/pcommon" |
| 7 |
|
| 8 |
func initResource(r pcommon.Resource) { |
| 9 |
r.Attributes().PutStr("resource-attr", "resource-attr-val-1") |
| 10 |
} |