SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: encode event string to fix parsing at frontend
makeavish3e24e371f49b
diff --git a/pkg/query-service/model/response.go b/pkg/query-service/model/response.goindex 7526505d33..b61a828d5e 100644--- a/pkg/query-service/model/response.go+++ b/pkg/query-service/model/response.go@@ -4,6 +4,7 @@ import ("database/sql""encoding/json""fmt"+ "net/url""strconv""time"@@ -205,8 +206,13 @@ func (item *SearchSpanReponseItem) GetValues() []interface{} {for _, item := range references {referencesStringArray = append(referencesStringArray, item.toString())}+ events := []string{}+ // encoding event string due to bug in frontend parser+ for _, e := range item.Events {+ events = append(events, url.QueryEscape(e))+ }- returnArray := []interface{}{int64(timeObj.UnixNano() / 1000000), item.SpanID, item.TraceID, item.ServiceName, item.Name, strconv.Itoa(int(item.Kind)), strconv.FormatInt(item.DurationNano, 10), item.TagsKeys, item.TagsValues, referencesStringArray, item.Events, item.HasError}+ returnArray := []interface{}{int64(timeObj.UnixNano() / 1000000), item.SpanID, item.TraceID, item.ServiceName, item.Name, strconv.Itoa(int(item.Kind)), strconv.FormatInt(item.DurationNano, 10), item.TagsKeys, item.TagsValues, referencesStringArray, events, item.HasError}return returnArray}