Skip to content

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.

pull-65

Ankit Nayan1ac544ad7857
diff --cc frontend/src/constants/query.ts
index 745877ff1d,c37213981a..f12ddeaad5
--- a/frontend/src/constants/query.ts
+++ b/frontend/src/constants/query.ts
@@@ -3,5 -3,5 +3,6 @@@ export enum METRICS_PAGE_QUERY_PARAM
startTime = "startTime",
endTime = "endTime",
service = "service",
+ error = "error",
+ operation = "operation",
}
diff --cc frontend/src/modules/Traces/TraceFilter.tsx
index ed1086d36f,52b091cbee..a872885185
--- a/frontend/src/modules/Traces/TraceFilter.tsx
+++ b/frontend/src/modules/Traces/TraceFilter.tsx
@@@ -62,19 -62,23 +62,30 @@@ const _TraceFilter = (props: TraceFilte
setServiceList(response.data);
})
.then(() => {
+ const operationName = urlParams.get(METRICS_PAGE_QUERY_PARAM.operation);
const serviceName = urlParams.get(METRICS_PAGE_QUERY_PARAM.service);
- const errorTag = urlParams.get(METRICS_PAGE_QUERY_PARAM.error);
-
- if (serviceName) {
- handleChangeService(serviceName);
+ if (operationName && serviceName) {
+ props.updateTraceFilters({
+ ...props.traceFilters,
+ operation: operationName,
+ service: serviceName,
+ });
+ populateData(serviceName);
+ } else {
+ if (operationName) {
+ handleChangeOperation(operationName);
+ }
+ if (serviceName) {
+ handleChangeService(serviceName);
+ }
}
+ if (errorTag) {
+ onTagFormSubmit({
+ tag_key: METRICS_PAGE_QUERY_PARAM.error,
+ tag_value: errorTag,
+ operator: "EQUAL",
+ });
+ }
});
}, []);