mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 06:08:59 +08:00
Merge branch 'develop' into fix/remove-fe-owner
This commit is contained in:
commit
0b3e8d797b
@ -137,7 +137,7 @@ services:
|
|||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
||||||
query-service:
|
query-service:
|
||||||
image: signoz/query-service:0.18.0
|
image: signoz/query-service:0.18.1
|
||||||
command: ["-config=/root/config/prometheus.yml"]
|
command: ["-config=/root/config/prometheus.yml"]
|
||||||
# ports:
|
# ports:
|
||||||
# - "6060:6060" # pprof port
|
# - "6060:6060" # pprof port
|
||||||
@ -166,7 +166,7 @@ services:
|
|||||||
<<: *clickhouse-depend
|
<<: *clickhouse-depend
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: signoz/frontend:0.18.0
|
image: signoz/frontend:0.18.1
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
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`
|
# 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:
|
query-service:
|
||||||
image: signoz/query-service:${DOCKER_TAG:-0.18.0}
|
image: signoz/query-service:${DOCKER_TAG:-0.18.1}
|
||||||
container_name: query-service
|
container_name: query-service
|
||||||
command: ["-config=/root/config/prometheus.yml"]
|
command: ["-config=/root/config/prometheus.yml"]
|
||||||
# ports:
|
# ports:
|
||||||
@ -181,7 +181,7 @@ services:
|
|||||||
<<: *clickhouse-depend
|
<<: *clickhouse-depend
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: signoz/frontend:${DOCKER_TAG:-0.18.0}
|
image: signoz/frontend:${DOCKER_TAG:-0.18.1}
|
||||||
container_name: frontend
|
container_name: frontend
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -61,7 +61,7 @@ export function onGraphClickHandler(
|
|||||||
const points = chart.getElementsAtEventForMode(
|
const points = chart.getElementsAtEventForMode(
|
||||||
event.native,
|
event.native,
|
||||||
'nearest',
|
'nearest',
|
||||||
{ intersect: true },
|
{ intersect: false },
|
||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
const id = `${from}_button`;
|
const id = `${from}_button`;
|
||||||
|
@ -29,7 +29,6 @@ function SideNav(): JSX.Element {
|
|||||||
const [collapsed, setCollapsed] = useState<boolean>(
|
const [collapsed, setCollapsed] = useState<boolean>(
|
||||||
getLocalStorageKey(IS_SIDEBAR_COLLAPSED) === 'true',
|
getLocalStorageKey(IS_SIDEBAR_COLLAPSED) === 'true',
|
||||||
);
|
);
|
||||||
const { search } = useLocation();
|
|
||||||
const { currentVersion, latestVersion, isCurrentVersionError } = useSelector<
|
const { currentVersion, latestVersion, isCurrentVersionError } = useSelector<
|
||||||
AppState,
|
AppState,
|
||||||
AppReducer
|
AppReducer
|
||||||
@ -48,15 +47,11 @@ function SideNav(): JSX.Element {
|
|||||||
|
|
||||||
const onClickHandler = useCallback(
|
const onClickHandler = useCallback(
|
||||||
(to: string) => {
|
(to: string) => {
|
||||||
const queryParams = new URLSearchParams(search);
|
|
||||||
|
|
||||||
const url = queryParams.toString();
|
|
||||||
|
|
||||||
if (pathname !== to) {
|
if (pathname !== to) {
|
||||||
history.push(`${to}?${url}`);
|
history.push(`${to}`);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[pathname, search],
|
[pathname],
|
||||||
);
|
);
|
||||||
|
|
||||||
const onClickSlackHandler = (): void => {
|
const onClickSlackHandler = (): void => {
|
||||||
|
@ -178,7 +178,7 @@ function Duration(): JSX.Element {
|
|||||||
if (value === undefined) {
|
if (value === undefined) {
|
||||||
return <div />;
|
return <div />;
|
||||||
}
|
}
|
||||||
return <div>{`${getMs(value?.toString())}ms`}</div>;
|
return <div>{`${value?.toString()}ms`}</div>;
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user