mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-19 04:45:54 +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 + "&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