Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use v4 table for dashboard variable #50

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ecs-infra-metrics/container-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"multiSelect": false,
"name": "ServiceName",
"order": 1,
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'aws_ecs_service_name'))\nFROM signoz_metrics.time_series_v2\nWHERE JSONExtractString(labels, 'aws_ecs_cluster_name')={{ .ClusterName }}",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'aws_ecs_service_name'))\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE JSONExtractString(labels, 'aws_ecs_cluster_name')={{ .ClusterName }} AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "ASC",
Expand All @@ -90,7 +90,7 @@
"multiSelect": false,
"name": "ClusterName",
"order": 0,
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'aws_ecs_cluster_name'))\nFROM signoz_metrics.time_series_v2",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'aws_ecs_cluster_name'))\nFROM signoz_metrics.distributed_time_series_v4_1day",
"selectedValue": "ecs-sidecar-docs-test-cluster",
"showALLOption": false,
"sort": "ASC",
Expand Down
6 changes: 3 additions & 3 deletions ecs-infra-metrics/instance-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"modificationUUID": "e9a6f419-2d13-4ad8-bcf8-877ed219bb9a",
"multiSelect": false,
"name": "AutoScalingGroupName",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'AutoScalingGroupName'))\nFROM signoz_metrics.time_series_v2\nWHERE JSONExtractString(labels, 'ClusterName') = {{ .ClusterName }}",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'AutoScalingGroupName'))\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE JSONExtractString(labels, 'ClusterName') = {{ .ClusterName }} AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "ASC",
Expand All @@ -151,7 +151,7 @@
"modificationUUID": "8add80ed-21dd-491c-af83-3608741c0428",
"multiSelect": false,
"name": "ClusterName",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'ClusterName'))\nFROM signoz_metrics.time_series_v2",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'ClusterName'))\nFROM signoz_metrics.distributed_time_series_v4_1day WHERE unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "ASC",
Expand All @@ -164,7 +164,7 @@
"modificationUUID": "75194703-4283-483e-b03b-7e1966481752",
"multiSelect": false,
"name": "InstanceId",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'InstanceId'))\nFROM signoz_metrics.time_series_v2\nWHERE JSONExtractString(labels, 'AutoScalingGroupName') = {{ .AutoScalingGroupName }}",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'InstanceId'))\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000 AND JSONExtractString(labels, 'AutoScalingGroupName') = {{ .AutoScalingGroupName }}",
"selectedValue": "",
"showALLOption": false,
"sort": "ASC",
Expand Down
4 changes: 2 additions & 2 deletions hostmetrics/hostmetrics-k8s.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"modificationUUID": "e44a96fa-8b05-437c-a0ed-4af300bac000",
"multiSelect": false,
"name": "k8s_cluster_name",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'k8s_cluster_name'))\nFROM signoz_metrics.time_series_v2",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'k8s_cluster_name'))\nFROM signoz_metrics.distributed_time_series_v4_1day WHERE metric_name like 'k8s%' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "DISABLED",
Expand All @@ -243,7 +243,7 @@
"modificationUUID": "a468ba88-1a1b-40da-9796-6788d1265f13",
"multiSelect": false,
"name": "k8s_node_name",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'k8s_node_name'))\nFROM signoz_metrics.time_series_v2",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'k8s_node_name'))\nFROM signoz_metrics.distributed_time_series_v4_1day WHERE metric_name like 'k8s%' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "DISABLED",
Expand Down
2 changes: 1 addition & 1 deletion hostmetrics/hostmetrics-with-variable.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
"modificationUUID": "f8ed0d75-f0e7-4c82-978e-22bfe98a5c2b",
"multiSelect": false,
"name": "hostname",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'host_name'))\nFROM signoz_metrics.time_series_v2\nWHERE not has(JSONExtractKeys(labels), 'k8s_node_name')",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'host_name'))\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000 AND not has(JSONExtractKeys(labels), 'k8s_node_name')",
"selectedValue": "",
"showALLOption": false,
"sort": "DISABLED",
Expand Down
8 changes: 4 additions & 4 deletions ingress-nginx-controller.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"modificationUUID": "8f4ba767-fd21-4fbf-9ab8-db9ee398cf5b",
"multiSelect": false,
"name": "controller",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'controller_pod') FROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name='nginx_ingress_controller_config_hash' AND JSONExtractString(labels, 'controller_namespace')={{.namespace}} AND JSONExtractString(labels, 'controller_class')={{.controller_class}} AND fingerprint GLOBAL IN\n(\n SELECT DISTINCT fingerprint FROM signoz_metrics.distributed_samples_v2 WHERE\n metric_name='nginx_ingress_controller_config_hash' AND timestamp_ms>toUnixTimestamp(now() - INTERVAL 5 MINUTE)*1000\n)",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'controller_pod') FROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name='nginx_ingress_controller_config_hash' AND JSONExtractString(labels, 'controller_namespace')={{.namespace}} AND JSONExtractString(labels, 'controller_class')={{.controller_class}} AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "DISABLED",
Expand All @@ -126,7 +126,7 @@
"modificationUUID": "fbde176a-19dc-440d-99ed-df68d7ed7579",
"multiSelect": false,
"name": "controller_class",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'controller_class') FROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name='nginx_ingress_controller_config_hash' AND JSONExtractString(labels, 'controller_namespace')={{.namespace}} AND fingerprint GLOBAL IN\n(\n SELECT DISTINCT fingerprint FROM signoz_metrics.distributed_samples_v2 WHERE\n metric_name='nginx_ingress_controller_config_hash' AND timestamp_ms>toUnixTimestamp(now() - INTERVAL 5 MINUTE)*1000\n)",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'controller_class') FROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name='nginx_ingress_controller_config_hash' AND JSONExtractString(labels, 'controller_namespace')={{.namespace}} AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "DISABLED",
Expand All @@ -140,7 +140,7 @@
"modificationUUID": "a0469012-d335-4490-8c79-95e34a01a9ae",
"multiSelect": false,
"name": "ingress",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'ingress') FROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name='nginx_ingress_controller_requests' AND JSONExtractString(labels, 'controller_namespace')={{.namespace}} AND JSONExtractString(labels, 'controller_class')={{.controller_class}} AND JSONExtractString(labels, 'controller_pod')={{.controller}} AND fingerprint GLOBAL IN\n(\n SELECT DISTINCT fingerprint FROM signoz_metrics.distributed_samples_v2 WHERE\n metric_name='nginx_ingress_controller_requests' AND timestamp_ms>toUnixTimestamp(now() - INTERVAL 5 MINUTE)*1000\n)",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'ingress') FROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name='nginx_ingress_controller_requests' AND JSONExtractString(labels, 'controller_namespace')={{.namespace}} AND JSONExtractString(labels, 'controller_class')={{.controller_class}} AND JSONExtractString(labels, 'controller_pod')={{.controller}} AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "DISABLED",
Expand All @@ -154,7 +154,7 @@
"modificationUUID": "a1c5f37c-2ded-4a77-a42f-30288de5f534",
"multiSelect": false,
"name": "namespace",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'controller_namespace') FROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name='nginx_ingress_controller_config_hash' AND fingerprint GLOBAL IN\n(\n SELECT DISTINCT fingerprint FROM signoz_metrics.distributed_samples_v2 WHERE\n metric_name='nginx_ingress_controller_config_hash' AND timestamp_ms>toUnixTimestamp(now() - INTERVAL 5 MINUTE)*1000\n)",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'controller_namespace') FROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name='nginx_ingress_controller_config_hash' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "DISABLED",
Expand Down
2 changes: 1 addition & 1 deletion k8s-infra-metrics/kubernetes-node-metrics-detailed.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"multiSelect": true,
"name": "node_name",
"order": 0,
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name = 'k8s_node_cpu_time'\nAND fingerprint IN\n(\n SELECT distinct fingerprint FROM signoz_metrics.distributed_samples_v2 WHERE timestamp_ms>toUnixTimestamp(now() - INTERVAL 5 MINUTE)*1000 AND metric_name = 'k8s_node_cpu_time'\n)",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_node_cpu_time' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": ["default"],
"showALLOption": true,
"sort": "ASC",
Expand Down
2 changes: 1 addition & 1 deletion k8s-infra-metrics/kubernetes-node-metrics-overall.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"multiSelect": true,
"name": "node_name",
"order": 0,
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name = 'k8s_node_cpu_time'",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_node_cpu_time' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": ["default"],
"showALLOption": true,
"sort": "DISABLED",
Expand Down
4 changes: 2 additions & 2 deletions k8s-infra-metrics/kubernetes-pod-metrics-detailed.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"multiSelect": true,
"name": "node_name",
"order": 1,
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name = 'k8s_node_cpu_time'",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_node_cpu_time' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": ["default"],
"showALLOption": true,
"sort": "ASC",
Expand All @@ -113,7 +113,7 @@
"multiSelect": false,
"name": "namespace_name",
"order": 0,
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_namespace_name') AS k8s_namespace_name\nFROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name = 'k8s_pod_cpu_time' and JSONExtractString(labels, 'k8s_node_name') IN {{.node_name}}",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_namespace_name') AS k8s_namespace_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_pod_cpu_time' and JSONExtractString(labels, 'k8s_node_name') IN {{.node_name}} AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "default",
"showALLOption": false,
"sort": "ASC",
Expand Down
4 changes: 2 additions & 2 deletions k8s-infra-metrics/kubernetes-pod-metrics-overall.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"modificationUUID": "fadf788f-09f9-45cc-bc19-64bd48959cc3",
"multiSelect": false,
"name": "namespace_name",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_namespace_name') AS k8s_namespace_name\nFROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name = 'k8s_pod_cpu_time' and JSONExtractString(labels, 'k8s_node_name') IN {{.node_name}}",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_namespace_name') AS k8s_namespace_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_pod_cpu_time' and JSONExtractString(labels, 'k8s_node_name') IN {{.node_name}} AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "default",
"showALLOption": false,
"sort": "ASC",
Expand All @@ -64,7 +64,7 @@
"modificationUUID": "36c6acf9-7ab1-4520-a688-6aff516d3758",
"multiSelect": true,
"name": "node_name",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name = 'k8s_node_cpu_time'",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_node_cpu_time' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": ["default"],
"showALLOption": true,
"sort": "DISABLED",
Expand Down
4 changes: 2 additions & 2 deletions k8s-infra-metrics/kubernetes-pvc-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"modificationUUID": "54d953a6-c1c4-4518-b44f-d1579dccf343",
"multiSelect": false,
"name": "namespace_name",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_namespace_name') AS k8s_namespace_name\nFROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name = 'k8s_pod_cpu_time' and JSONExtractString(labels, 'k8s_node_name') IN {{.node_name}}",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_namespace_name') AS k8s_namespace_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_pod_cpu_time' and JSONExtractString(labels, 'k8s_node_name') IN {{.node_name}} AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "default",
"showALLOption": false,
"sort": "DISABLED",
Expand All @@ -73,7 +73,7 @@
"modificationUUID": "24efc483-9666-4feb-9a47-9d707b17da1f",
"multiSelect": true,
"name": "node_name",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name = 'k8s_node_cpu_time'",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'k8s_node_name') AS k8s_node_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'k8s_node_cpu_time' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": ["default"],
"showALLOption": true,
"sort": "ASC",
Expand Down
2 changes: 1 addition & 1 deletion key-operations/key-operations-chquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"description": "",
"multiSelect": false,
"name": "service_name",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'service_name')\nFROM signoz_metrics.time_series_v2\nWHERE metric_name = 'signoz_calls_total'",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'service_name')\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'signoz_calls_total' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"showALLOption": false,
"sort": "ASC",
"textboxValue": "",
Expand Down
2 changes: 1 addition & 1 deletion key-operations/key-operations-promql.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"description": "",
"multiSelect": false,
"name": "service_name",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'service_name')\nFROM signoz_metrics.time_series_v2\nWHERE metric_name = 'signoz_calls_total'",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'service_name')\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'signoz_calls_total' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"showALLOption": false,
"sort": "ASC",
"textboxValue": "",
Expand Down
2 changes: 1 addition & 1 deletion key-operations/key-operations-querybuilder.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"description": "",
"multiSelect": false,
"name": "service_name",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'service_name')\nFROM signoz_metrics.time_series_v2\nWHERE metric_name = 'signoz_calls_total'",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'service_name')\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'signoz_calls_total' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"showALLOption": false,
"sort": "ASC",
"textboxValue": "",
Expand Down
2 changes: 1 addition & 1 deletion mysql.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
"description": "",
"multiSelect": true,
"name": "hostname",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'host_name')) as host_name\nFROM signoz_metrics.distributed_time_series_v2 WHERE metric_name='mysql_up';",
"queryValue": "SELECT DISTINCT(JSONExtractString(labels, 'host_name')) as host_name\nFROM signoz_metrics.distributed_time_series_v4_1day WHERE metric_name='mysql_up' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000;",
"showALLOption": false,
"sort": "ASC",
"textboxValue": "",
Expand Down
2 changes: 1 addition & 1 deletion nginx-ingress-request-handling-performance.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"modificationUUID": "e0206939-7657-49d0-8b42-3024551a176f",
"multiSelect": false,
"name": "ingress",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'ingress') FROM signoz_metrics.distributed_time_series_v2\nWHERE metric_name='nginx_ingress_controller_requests' AND fingerprint GLOBAL IN\n(\n SELECT DISTINCT fingerprint FROM signoz_metrics.distributed_samples_v2 WHERE\n metric_name='nginx_ingress_controller_requests' AND timestamp_ms>toUnixTimestamp(now() - INTERVAL 5 MINUTE)*1000\n)",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'ingress') FROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name='nginx_ingress_controller_requests' AND AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": "",
"showALLOption": false,
"sort": "DISABLED",
Expand Down
2 changes: 1 addition & 1 deletion otel-nginx-receiver.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"modificationUUID": "a956adb3-2286-4472-9c5c-5cd2edff5602",
"multiSelect": true,
"name": "host_name",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'host_name') FROM signoz_metrics.distributed_time_series_v2 WHERE metric_name like 'nginx_%'",
"queryValue": "SELECT DISTINCT JSONExtractString(labels, 'host_name') FROM signoz_metrics.distributed_time_series_v4_1day WHERE metric_name like 'nginx_%' AND unix_milli >= toUnixTimestamp(now() - INTERVAL 1 DAY) * 1000",
"selectedValue": [
],
"showALLOption": true,
Expand Down