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
chore: add new endpoint for variable replacement (#4191)
Srikanth Chekuri9826ab04b3fa
diff --git a/pkg/query-service/app/http_handler.go b/pkg/query-service/app/http_handler.goindex 973e23328c..1d01267860 100644--- a/pkg/query-service/app/http_handler.go+++ b/pkg/query-service/app/http_handler.go@@ -314,6 +314,7 @@ func (aH *APIHandler) RegisterQueryRangeV3Routes(router *mux.Router, am *AuthMidsubRouter.HandleFunc("/autocomplete/attribute_values", am.ViewAccess(withCacheControl(AutoCompleteCacheControlAge, aH.autoCompleteAttributeValues))).Methods(http.MethodGet)subRouter.HandleFunc("/query_range", am.ViewAccess(aH.QueryRangeV3)).Methods(http.MethodPost)+ subRouter.HandleFunc("/query_range/format", am.ViewAccess(aH.QueryRangeV3Format)).Methods(http.MethodPost)// live logssubRouter.HandleFunc("/logs/livetail", am.ViewAccess(aH.liveTailLogs)).Methods(http.MethodGet)@@ -3001,6 +3002,18 @@ func (aH *APIHandler) getSpanKeysV3(ctx context.Context, queryRangeParams *v3.Qureturn data, nil}+func (aH *APIHandler) QueryRangeV3Format(w http.ResponseWriter, r *http.Request) {+ queryRangeParams, apiErrorObj := ParseQueryRangeParams(r)++ if apiErrorObj != nil {+ zap.S().Errorf(apiErrorObj.Err.Error())+ RespondError(w, apiErrorObj, nil)+ return+ }++ aH.Respond(w, queryRangeParams)+}+func (aH *APIHandler) queryRangeV3(ctx context.Context, queryRangeParams *v3.QueryRangeParamsV3, w http.ResponseWriter, r *http.Request) {var result []*v3.Result