diff --git a/agents/go.mod b/agents/go.mod index 60e51c1764..bb9af88038 100644 --- a/agents/go.mod +++ b/agents/go.mod @@ -80,6 +80,7 @@ require ( github.com/status-im/keycard-go v0.2.0 // indirect github.com/uptrace/opentelemetry-go-extra/otelutil v0.2.3 // indirect github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect + github.com/valyala/fastjson v1.6.4 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240108191215-35c7eff3a6b1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 // indirect gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect diff --git a/agents/go.sum b/agents/go.sum index d8494dcd41..c36806dc1b 100644 --- a/agents/go.sum +++ b/agents/go.sum @@ -1147,6 +1147,8 @@ github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBn github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= diff --git a/committee/go.mod b/committee/go.mod index 6d27148b8c..34b080536d 100644 --- a/committee/go.mod +++ b/committee/go.mod @@ -316,6 +316,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasthttp v1.41.0 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/valyala/fastrand v1.1.0 // indirect github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f // indirect github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect diff --git a/committee/go.sum b/committee/go.sum index 696813c2db..1e7e35e86d 100644 --- a/committee/go.sum +++ b/committee/go.sum @@ -1296,6 +1296,8 @@ github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBn github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= diff --git a/contrib/promexporter/go.mod b/contrib/promexporter/go.mod index 257d2df72f..8ce541bc12 100644 --- a/contrib/promexporter/go.mod +++ b/contrib/promexporter/go.mod @@ -200,6 +200,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelsql v0.2.2 // indirect github.com/uptrace/opentelemetry-go-extra/otelutil v0.2.3 // indirect github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/vektah/gqlparser/v2 v2.5.8 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect diff --git a/contrib/promexporter/go.sum b/contrib/promexporter/go.sum index bf85158de4..14d0ce0d99 100644 --- a/contrib/promexporter/go.sum +++ b/contrib/promexporter/go.sum @@ -1614,6 +1614,8 @@ github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyC github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= diff --git a/core/go.mod b/core/go.mod index fd1bf7c236..910fc53418 100644 --- a/core/go.mod +++ b/core/go.mod @@ -40,6 +40,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelgorm v0.1.21 github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 github.com/urfave/cli/v2 v2.27.1 + github.com/valyala/fastjson v1.6.4 go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.42.0 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.42.0 go.opentelemetry.io/contrib/propagators/b3 v1.21.0 diff --git a/core/go.sum b/core/go.sum index dba8c4167f..9486588bc8 100644 --- a/core/go.sum +++ b/core/go.sum @@ -485,6 +485,8 @@ github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3/go.mod h1:9IVEh9mPv3NwF github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli/v2 v2.27.1 h1:8xSQ6szndafKVRmfyeUMxkNUJQMjL1F2zmsZ+qHpfho= github.com/urfave/cli/v2 v2.27.1/go.mod h1:8qnjx1vcq5s2/wpsqoZFndg2CE5tNFyrTvS6SinrnYQ= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= diff --git a/core/metrics/consistentnames.go b/core/metrics/consistentnames.go index ac18c842a7..72ba4194b6 100644 --- a/core/metrics/consistentnames.go +++ b/core/metrics/consistentnames.go @@ -15,6 +15,12 @@ const ( Nonce = "nonce" // TxHash is the metric name for the transaction hash. TxHash = "tx_hash" + // BlockHash is the metric name for the block hash. + BlockHash = "block_hash" + // FromBlock is the metric name for the block number. + FromBlock = "from_block" + // ToBlock is the metric name for the to block. + ToBlock = "to_block" // Page is the metric name for the page. Page = "page" // Contract is the metric name for the contract. diff --git a/core/metrics/instrumentation/http.go b/core/metrics/instrumentation/http.go index dd07951175..160d6956f2 100644 --- a/core/metrics/instrumentation/http.go +++ b/core/metrics/instrumentation/http.go @@ -4,6 +4,7 @@ import ( "bytes" "fmt" "github.com/synapsecns/sanguine/core/metrics" + "github.com/valyala/fastjson" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" "io" @@ -32,6 +33,8 @@ const ( RequestEventName = "http.request.body" // ResponseEventName is the name of the event created for each response body. ResponseEventName = "http.response.body" + // IDSpanName is the name of the span created for each request. + IDSpanName = "rpc.id" ) // nolint: cyclop @@ -97,7 +100,15 @@ func (t *captureTransport) RoundTrip(req *http.Request) (_ *http.Response, err e // Add the request/response body as events to the span if requestBody.Len() > 0 { - span.AddEvent(RequestEventName, trace.WithAttributes(attribute.String("body", requestBody.String()))) + requestBytes := requestBody.Bytes() + // now track the id in a way we can search in signoz. + // will not work on batch requests. + id := fastjson.GetInt(requestBytes, "id") + if id != 0 { + span.SetAttributes(attribute.Int(IDSpanName, id)) + } + + span.AddEvent(RequestEventName, trace.WithAttributes(attribute.String("body", string(requestBytes)))) } if len(response) > 0 { span.AddEvent(ResponseEventName, trace.WithAttributes(attribute.String("body", response))) diff --git a/ethergo/client/client.go b/ethergo/client/client.go index b6337a0c4a..328d55aade 100644 --- a/ethergo/client/client.go +++ b/ethergo/client/client.go @@ -15,6 +15,7 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" "math/big" + "reflect" ) // EVM is the set of functions that the scribe needs from a client. @@ -121,8 +122,8 @@ func (c *clientImpl) BatchCallContext(ctx context.Context, b []rpc.BatchElem) (e return c.captureClient.rpcClient.BatchCallContext(requestCtx, b) } -func (c *clientImpl) startSpan(parentCtx context.Context, method RPCMethod) (context.Context, trace.Span) { - ctx, span := c.tracing.Tracer().Start(parentCtx, method.String()) +func (c *clientImpl) startSpan(parentCtx context.Context, method RPCMethod, opts ...trace.SpanStartOption) (context.Context, trace.Span) { + ctx, span := c.tracing.Tracer().Start(parentCtx, method.String(), opts...) span.SetAttributes(attribute.String("endpoint", c.endpoint)) return ctx, span @@ -132,7 +133,7 @@ func (c *clientImpl) startSpan(parentCtx context.Context, method RPCMethod) (con // //nolint:wrapcheck func (c *clientImpl) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) (contractResponse []byte, err error) { - requestCtx, span := c.startSpan(ctx, CallMethod) + requestCtx, span := c.startSpan(ctx, CallMethod, trace.WithAttributes(attribute.String(metrics.ContractAddress, nillableToString(call.To)), attribute.String("data", common.Bytes2Hex(call.Data)), attribute.Bool("pending", false))) defer func() { metrics.EndSpanWithErr(span, err) }() @@ -140,11 +141,33 @@ func (c *clientImpl) CallContract(ctx context.Context, call ethereum.CallMsg, bl return c.getEthClient().CallContract(requestCtx, call, blockNumber) } +// toStrings converts a slice of any type that satisfies the Stringer interface into a slice of strings. +func toStrings[T fmt.Stringer](items []T) (res []string) { + for _, item := range items { + res = append(res, item.String()) + } + return res +} + +func nillableToString(nillable fmt.Stringer) string { + if nillable == nil { + return "" + } + + // Use reflection to check if the interface's underlying value is nil. + val := reflect.ValueOf(nillable) + if val.Kind() == reflect.Ptr && val.IsNil() { + return "" + } + + return nillable.String() +} + // PendingCallContract calls contract on the underlying client // //nolint:wrapcheck func (c *clientImpl) PendingCallContract(ctx context.Context, call ethereum.CallMsg) (contractResponse []byte, err error) { - requestCtx, span := c.startSpan(ctx, CallMethod) + requestCtx, span := c.startSpan(ctx, CallMethod, trace.WithAttributes(attribute.String(metrics.ContractAddress, nillableToString(call.To)), attribute.String("data", common.Bytes2Hex(call.Data)), attribute.Bool("pending", true))) defer func() { metrics.EndSpanWithErr(span, err) }() @@ -271,11 +294,21 @@ func (c *clientImpl) SendTransaction(ctx context.Context, tx *types.Transaction) return c.getEthClient().SendTransaction(requestCtx, tx) } +func queryToTraceParams(query ethereum.FilterQuery) (res []attribute.KeyValue) { + res = append(res, attribute.String(metrics.BlockHash, nillableToString(query.BlockHash))) + res = append(res, attribute.String(metrics.FromBlock, nillableToString(query.FromBlock))) + res = append(res, attribute.String(metrics.ToBlock, nillableToString(query.ToBlock))) + res = append(res, attribute.StringSlice("addresses", toStrings(query.Addresses))) + // TODO: add topics + + return res +} + // FilterLogs calls FilterLogs on the underlying client // //nolint:wrapcheck func (c *clientImpl) FilterLogs(ctx context.Context, query ethereum.FilterQuery) (logs []types.Log, err error) { - requestCtx, span := c.startSpan(ctx, GetLogsMethod) + requestCtx, span := c.startSpan(ctx, GetLogsMethod, trace.WithAttributes(queryToTraceParams(query)...)) defer func() { metrics.EndSpanWithErr(span, err) }() diff --git a/ethergo/go.mod b/ethergo/go.mod index ffff7c1f70..34df6631d8 100644 --- a/ethergo/go.mod +++ b/ethergo/go.mod @@ -232,6 +232,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelutil v0.2.3 // indirect github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect github.com/urfave/cli/v2 v2.27.1 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect diff --git a/ethergo/go.sum b/ethergo/go.sum index 69b4177190..74018ac436 100644 --- a/ethergo/go.sum +++ b/ethergo/go.sum @@ -1013,6 +1013,8 @@ github.com/urfave/cli/v2 v2.27.1/go.mod h1:8qnjx1vcq5s2/wpsqoZFndg2CE5tNFyrTvS6S github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= diff --git a/services/cctp-relayer/go.mod b/services/cctp-relayer/go.mod index eecd2056c3..b9d3dd6930 100644 --- a/services/cctp-relayer/go.mod +++ b/services/cctp-relayer/go.mod @@ -239,6 +239,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasthttp v1.41.0 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/valyala/fastrand v1.1.0 // indirect github.com/vektah/gqlparser/v2 v2.5.8 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect diff --git a/services/cctp-relayer/go.sum b/services/cctp-relayer/go.sum index 788b539118..2e3c09a25a 100644 --- a/services/cctp-relayer/go.sum +++ b/services/cctp-relayer/go.sum @@ -1073,6 +1073,8 @@ github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBn github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= diff --git a/services/explorer/go.mod b/services/explorer/go.mod index 71774d1014..9da6657710 100644 --- a/services/explorer/go.mod +++ b/services/explorer/go.mod @@ -238,6 +238,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelsql v0.2.2 // indirect github.com/uptrace/opentelemetry-go-extra/otelutil v0.2.3 // indirect github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect diff --git a/services/explorer/go.sum b/services/explorer/go.sum index f3e6774b8b..2a51b1bda2 100644 --- a/services/explorer/go.sum +++ b/services/explorer/go.sum @@ -1601,6 +1601,8 @@ github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyC github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= diff --git a/services/omnirpc/go.mod b/services/omnirpc/go.mod index 696db3e7d9..2a374e7527 100644 --- a/services/omnirpc/go.mod +++ b/services/omnirpc/go.mod @@ -220,6 +220,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelutil v0.2.3 // indirect github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/valyala/fastrand v1.1.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect diff --git a/services/omnirpc/go.sum b/services/omnirpc/go.sum index d503a5af77..6de0a00c26 100644 --- a/services/omnirpc/go.sum +++ b/services/omnirpc/go.sum @@ -1051,6 +1051,8 @@ github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBn github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= diff --git a/services/rfq/go.mod b/services/rfq/go.mod index cfdd2c1f18..1b2fe2e34d 100644 --- a/services/rfq/go.mod +++ b/services/rfq/go.mod @@ -244,6 +244,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasthttp v1.41.0 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/valyala/fastrand v1.1.0 // indirect github.com/vektah/gqlparser/v2 v2.5.8 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect diff --git a/services/rfq/go.sum b/services/rfq/go.sum index 61c41e5770..1861fd21ae 100644 --- a/services/rfq/go.sum +++ b/services/rfq/go.sum @@ -1079,6 +1079,8 @@ github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBn github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= diff --git a/services/scribe/go.mod b/services/scribe/go.mod index 329852a478..04b3aa8a94 100644 --- a/services/scribe/go.mod +++ b/services/scribe/go.mod @@ -256,6 +256,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasthttp v1.41.0 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/valyala/fastrand v1.1.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect diff --git a/services/scribe/go.sum b/services/scribe/go.sum index 611a2658bf..8a6b885179 100644 --- a/services/scribe/go.sum +++ b/services/scribe/go.sum @@ -1110,6 +1110,8 @@ github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBn github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= diff --git a/services/stiprelayer/go.mod b/services/stiprelayer/go.mod index 5d655d1d46..4220562603 100644 --- a/services/stiprelayer/go.mod +++ b/services/stiprelayer/go.mod @@ -227,6 +227,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasthttp v1.41.0 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/valyala/fastrand v1.1.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect diff --git a/services/stiprelayer/go.sum b/services/stiprelayer/go.sum index fb491dfee8..2a7c841ed6 100644 --- a/services/stiprelayer/go.sum +++ b/services/stiprelayer/go.sum @@ -1048,6 +1048,8 @@ github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBn github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= diff --git a/sin-executor/go.mod b/sin-executor/go.mod index 196344c876..2d787e7c88 100644 --- a/sin-executor/go.mod +++ b/sin-executor/go.mod @@ -235,6 +235,7 @@ require ( github.com/uptrace/opentelemetry-go-extra/otelzap v0.2.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasthttp v1.41.0 // indirect + github.com/valyala/fastjson v1.6.4 // indirect github.com/valyala/fastrand v1.1.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect diff --git a/sin-executor/go.sum b/sin-executor/go.sum index 22e25212c8..9e339d4b3c 100644 --- a/sin-executor/go.sum +++ b/sin-executor/go.sum @@ -1039,6 +1039,8 @@ github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBn github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.41.0 h1:zeR0Z1my1wDHTRiamBCXVglQdbUwgb9uWG3k1HQz6jY= github.com/valyala/fasthttp v1.41.0/go.mod h1:f6VbjjoI3z1NDOZOv17o6RvtRSWxC77seBFc2uWtgiY= +github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= +github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ=