mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-14 13:31:31 +08:00

* feat: trace v4 inital commit * fix: add remaining files * fix: integrate with querier * fix: get trace by id api updated * fix: add servicename resource filter * fix: tests * fix: use correct prepQUery * fix: services page * fix: minor fixes to use the new table in api's and querier * fix: add support for window based pagination * feat: support for faster trace detail * fix: searchTraces * fix: attribute enrichment updated and issue in group by * fix: issues in group by * fix: enrichment using alias * fix: test file added * fix: tests * fix: group by with filters * fix: add subquery * fix: trigger builde * fix: update pagination logic and few ch column names * fix: update qb * fix: add tests * feat: minor fixes * fix: update pagination logic * fix: update pagination logic * fix: remove utils * fix: remove unwanted API's * fix: attribute and attribute values v2 * fix: autocomplete api's updated * fix: tests fixed * feat: minor fixes * fix: update telemetry functions * fix: dont use alias, use proper col names * fix: move models to it's own file * fix: minor fixes * fix: address comments * fix: add to serviceoverview function * fix: add changes to overview function * fix: address comments * fix: remove printlines --------- Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
33 lines
833 B
Go
33 lines
833 B
Go
package api
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func (ah *APIHandler) searchTraces(w http.ResponseWriter, r *http.Request) {
|
|
|
|
ah.APIHandler.SearchTraces(w, r)
|
|
return
|
|
|
|
// This is commented since this will be taken care by new trace API
|
|
|
|
// if !ah.CheckFeature(basemodel.SmartTraceDetail) {
|
|
// zap.L().Info("SmartTraceDetail feature is not enabled in this plan")
|
|
// ah.APIHandler.SearchTraces(w, r)
|
|
// return
|
|
// }
|
|
// searchTracesParams, err := baseapp.ParseSearchTracesParams(r)
|
|
// if err != nil {
|
|
// RespondError(w, &model.ApiError{Typ: model.ErrorBadData, Err: err}, "Error reading params")
|
|
// return
|
|
// }
|
|
|
|
// result, err := ah.opts.DataConnector.SearchTraces(r.Context(), searchTracesParams, db.SmartTraceAlgorithm)
|
|
// if ah.HandleError(w, err, http.StatusBadRequest) {
|
|
// return
|
|
// }
|
|
|
|
// ah.WriteJSON(w, r, result)
|
|
|
|
}
|