mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-20 14:19:06 +08:00
Merge branch 'pull-66' into main
This commit is contained in:
commit
0e86e37235
@ -105,8 +105,11 @@ const _TraceCustomVisualizations = (props: TraceCustomVisualizationsProps) => {
|
|||||||
request_string =
|
request_string =
|
||||||
request_string + "&aggregation_option=" + selectedAggOption.toLowerCase();
|
request_string + "&aggregation_option=" + selectedAggOption.toLowerCase();
|
||||||
if (selectedStep) request_string = request_string + "&step=" + selectedStep;
|
if (selectedStep) request_string = request_string + "&step=" + selectedStep;
|
||||||
|
const plusMinus15 = {
|
||||||
props.getFilteredTraceMetrics(request_string, props.globalTime);
|
minTime: props.globalTime.minTime - 15 * 60 * 1000000000,
|
||||||
|
maxTime: props.globalTime.maxTime + 15 * 60 * 1000000000,
|
||||||
|
};
|
||||||
|
props.getFilteredTraceMetrics(request_string, plusMinus15);
|
||||||
}, [selectedEntity, selectedAggOption, props.traceFilters, props.globalTime]);
|
}, [selectedEntity, selectedAggOption, props.traceFilters, props.globalTime]);
|
||||||
|
|
||||||
//Custom metrics API called if time, tracefilters, selected entity or agg option changes
|
//Custom metrics API called if time, tracefilters, selected entity or agg option changes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user