Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pschork committed Jun 26, 2024
1 parent 2124809 commit b777828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions disperser/dataapi/prometheus_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (pc *prometheusClient) QueryDisperserBlobSizeBytesPerSecond(ctx context.Con

func (pc *prometheusClient) QueryDisperserAvgThroughputBlobSizeBytes(ctx context.Context, start time.Time, end time.Time) (*PrometheusResult, error) {
query := fmt.Sprintf("sum by (job) (rate(eigenda_batcher_blobs_total{state=\"confirmed\",data=\"size\",cluster=\"%s\"}[$$__rate_interval]))", pc.cluster)
fmt.Printf("Query: %s\n", query)
return pc.queryRange(ctx, query, start, end)
}

Expand Down

0 comments on commit b777828

Please sign in to comment.