mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-09-24 13:43:13 +08:00
adds plus minus 15mins to timestamp
This commit is contained in:
parent
a59e33d241
commit
4935936afc
@ -105,8 +105,11 @@ const _TraceCustomVisualizations = (props: TraceCustomVisualizationsProps) => {
|
||||
request_string =
|
||||
request_string + "&aggregation_option=" + selectedAggOption.toLowerCase();
|
||||
if (selectedStep) request_string = request_string + "&step=" + selectedStep;
|
||||
|
||||
props.getFilteredTraceMetrics(request_string, props.globalTime);
|
||||
const plusMinus15 = {
|
||||
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]);
|
||||
|
||||
//Custom metrics API called if time, tracefilters, selected entity or agg option changes
|
||||
|
Loading…
x
Reference in New Issue
Block a user