Skip to content

Commit

Permalink
chore: refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Shivanshu Raj Shrivastava <[email protected]>
  • Loading branch information
shivanshuraj1333 committed Jan 7, 2025
1 parent 8a9a76a commit 2969271
Showing 1 changed file with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package kafka

import (
"fmt"
"go.uber.org/zap"

"go.signoz.io/signoz/pkg/query-service/common"
"go.signoz.io/signoz/pkg/query-service/constants"
v3 "go.signoz.io/signoz/pkg/query-service/model/v3"
Expand Down Expand Up @@ -138,19 +136,7 @@ func CeleryClickHouseQuery(
unixMilliStart := messagingQueue.Start / 1000000
unixMilliEnd := messagingQueue.End / 1000000

var kind string
//var status string
//var taskName string

if value, ok := messagingQueue.Variables["kind"]; !ok {
zap.L().Error("kind not found in celery /api/v1/messaging-queues/celery/tasks api call")
kind = value
}
if _, ok := messagingQueue.Variables["status"]; !ok {
zap.L().Error("status not found in celery /api/v1/messaging-queues/celery/tasks api call")
//status = value
}
//taskName, _ = messagingQueue.Variables["status"]
kind := messagingQueue.Variables["kind"]

var cq *v3.CompositeQuery

Expand Down

0 comments on commit 2969271

Please sign in to comment.