MCPcopy
hub / github.com/grafana/tempo / SendReq

Function SendReq

pkg/ingest/testkafka/client.go:65–67  ·  view source on GitHub ↗
(ctx context.Context, t testing.TB, client *kgo.Client, encode encodingFn, tenantID string)

Source from the content-addressed store, hash-verified

63}
64
65func SendReq(ctx context.Context, t testing.TB, client *kgo.Client, encode encodingFn, tenantID string) []*kgo.Record {
66 return SendReqWithOpts(ctx, t, client, encode, ReqOpts{Partition: 0, Time: time.Now(), TenantID: tenantID})
67}
68
69// nolint: revive,unparam
70func SendTracesFor(t *testing.T, ctx context.Context, client *kgo.Client, dur, interval time.Duration, encode encodingFn) []*kgo.Record {

Calls 2

SendReqWithOptsFunction · 0.85
NowMethod · 0.65