Skip to content

Commit

Permalink
raw
Browse files Browse the repository at this point in the history
  • Loading branch information
musa-asad committed Feb 6, 2025
1 parent 948e74a commit 3c0f7f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporter/awsemfexporter/emf_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ func (emf *emfExporter) pushMetricsData(_ context.Context, md pmetric.Metrics) e
labels := map[string]string{}
for i := 0; i < rms.Len(); i++ {
rm := rms.At(i)
fmt.Printf("Before AddEntity - Attributes: %v\n", rm.Resource().Attributes())
fmt.Printf("Before AddEntity - Attributes: %v\n", rm.Resource().Attributes().AsRaw())
entity.AddEntity(&rm)
fmt.Printf("After AddEntity - Attributes: %v\n", rm.Resource().Attributes())
fmt.Printf("After AddEntity - Attributes: %v\n", rm.Resource().Attributes().AsRaw())
am := rm.Resource().Attributes()
if am.Len() > 0 {
am.Range(func(k string, v pcommon.Value) bool {
Expand Down

0 comments on commit 3c0f7f4

Please sign in to comment.