Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
naman-jain-15 committed Jul 1, 2024
1 parent 4ef900c commit 16bedfd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions receiver/datadogmetricreceiver/job/job.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package job

import (
"fmt"
"log"
"strings"

Expand Down Expand Up @@ -61,8 +60,6 @@ func GetOtlpExportReqFromDatadogJobData(origin, key string, Body interface{}, ti

clusterName := ddReq.GetClusterName()
clusterID := ddReq.GetClusterId()
fmt.Println("clusterName",clusterID)
fmt.Println("clusterID",clusterName)
for _, metricName := range jobMetricsToExtract {
for _, job := range jobs {
rm := resourceMetrics.AppendEmpty()
Expand All @@ -78,7 +75,6 @@ func GetOtlpExportReqFromDatadogJobData(origin, key string, Body interface{}, ti
scopeMetrics := helpers.AppendInstrScope(&rm)
setHostK8sAttributes(metricAttributes, clusterName, clusterID)
appendJobMetrics(&scopeMetrics, resourceAttributes, metricAttributes, metricName, job, timestamp)
//fmt.Println(metricAttributes.AsRaw())
}
}

Expand Down

0 comments on commit 16bedfd

Please sign in to comment.