mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-18 17:35:54 +08:00
commit
616b8e0a45
@ -146,7 +146,7 @@ services:
|
|||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
||||||
query-service:
|
query-service:
|
||||||
image: signoz/query-service:0.38.0
|
image: signoz/query-service:0.38.1
|
||||||
command:
|
command:
|
||||||
[
|
[
|
||||||
"-config=/root/config/prometheus.yml",
|
"-config=/root/config/prometheus.yml",
|
||||||
@ -186,7 +186,7 @@ services:
|
|||||||
<<: *db-depend
|
<<: *db-depend
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: signoz/frontend:0.38.0
|
image: signoz/frontend:0.38.1
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
@ -164,7 +164,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.38.0}
|
image: signoz/query-service:${DOCKER_TAG:-0.38.1}
|
||||||
container_name: signoz-query-service
|
container_name: signoz-query-service
|
||||||
command:
|
command:
|
||||||
[
|
[
|
||||||
@ -203,7 +203,7 @@ services:
|
|||||||
<<: *db-depend
|
<<: *db-depend
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: signoz/frontend:${DOCKER_TAG:-0.38.0}
|
image: signoz/frontend:${DOCKER_TAG:-0.38.1}
|
||||||
container_name: signoz-frontend
|
container_name: signoz-frontend
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -150,20 +150,6 @@ function QueryBuilderSearch({
|
|||||||
(item) => item.key as BaseAutocompleteData,
|
(item) => item.key as BaseAutocompleteData,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Avoid updating query with onChange at the bottom of this useEffect
|
|
||||||
// if there are no `tags` that need to be normalized after receiving
|
|
||||||
// the latest `sourceKeys`.
|
|
||||||
//
|
|
||||||
// Executing the following logic for empty tags leads to emptying
|
|
||||||
// out of `query` via `onChange`.
|
|
||||||
// `tags` can contain stale empty value while being updated by `useTag`
|
|
||||||
// which maintains it as a state and updates it via useEffect when props change.
|
|
||||||
// This was observed when pipeline filters were becoming empty after
|
|
||||||
// returning from logs explorer.
|
|
||||||
if ((tags?.length || 0) < 1) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
initialTagFilters.items = tags.map((tag, index) => {
|
initialTagFilters.items = tags.map((tag, index) => {
|
||||||
const isJsonTrue = query.filters?.items[index]?.key?.isJSON;
|
const isJsonTrue = query.filters?.items[index]?.key?.isJSON;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user