mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-31 07:32:01 +08:00
commit
d5e112a9bc
@ -137,7 +137,7 @@ services:
|
||||
condition: on-failure
|
||||
|
||||
query-service:
|
||||
image: signoz/query-service:0.18.2
|
||||
image: signoz/query-service:0.18.3
|
||||
command: ["-config=/root/config/prometheus.yml"]
|
||||
# ports:
|
||||
# - "6060:6060" # pprof port
|
||||
@ -166,7 +166,7 @@ services:
|
||||
<<: *clickhouse-depend
|
||||
|
||||
frontend:
|
||||
image: signoz/frontend:0.18.2
|
||||
image: signoz/frontend:0.18.3
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
@ -153,7 +153,7 @@ services:
|
||||
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`
|
||||
|
||||
query-service:
|
||||
image: signoz/query-service:${DOCKER_TAG:-0.18.2}
|
||||
image: signoz/query-service:${DOCKER_TAG:-0.18.3}
|
||||
container_name: query-service
|
||||
command: ["-config=/root/config/prometheus.yml"]
|
||||
# ports:
|
||||
@ -181,7 +181,7 @@ services:
|
||||
<<: *clickhouse-depend
|
||||
|
||||
frontend:
|
||||
image: signoz/frontend:${DOCKER_TAG:-0.18.2}
|
||||
image: signoz/frontend:${DOCKER_TAG:-0.18.3}
|
||||
container_name: frontend
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
|
@ -5,7 +5,7 @@ import query from 'api/dashboard/variables/query';
|
||||
import { commaValuesParser } from 'lib/dashbaordVariables/customCommaValuesParser';
|
||||
import sortValues from 'lib/dashbaordVariables/sortVariableValues';
|
||||
import { map } from 'lodash-es';
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import React, { memo, useCallback, useEffect, useState } from 'react';
|
||||
import { IDashboardVariable } from 'types/api/dashboard/getAll';
|
||||
|
||||
import { variablePropsToPayloadVariables } from '../utils';
|
||||
@ -130,7 +130,7 @@ function VariableItem({
|
||||
useEffect(() => {
|
||||
getOptions();
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
}, [variableData, existingVariables]);
|
||||
|
||||
const handleChange = (value: string | string[]): void => {
|
||||
if (
|
||||
@ -201,4 +201,4 @@ function VariableItem({
|
||||
);
|
||||
}
|
||||
|
||||
export default VariableItem;
|
||||
export default memo(VariableItem);
|
||||
|
Loading…
x
Reference in New Issue
Block a user