Feature: Dashboard ClickHouse query Query 1: ```SE...
# support
d
Feature: Dashboard ClickHouse query Query 1:
Copy code
SELECT resource_fingerprint
FROM signoz_traces.distributed_signoz_index_v3
-> Return result Query 2:
Copy code
SELECT resources_string
FROM signoz_traces.distributed_signoz_index_v3
-> Empty response Is it a bug? How to query by resources_string['deployment.environment'] ?
h
Just needs a slight tweak from what you had:
Copy code
SELECT resources_string['deployment.environment']
FROM signoz_traces.distributed_signoz_index_v3 limit 100;
This query returned results for me using the Table panel type in Dashboard editor, although it wasn't 100 lines so I believe there's some extra mapping going on.
d
Hi @Hien Le, thanks for your response. I tried it before but it does not return correct result. Btw have you used SigNoz on production? How it's going? I tried to adopt but seems it's still quite buggy.
I only care 3 features: 1. Fast trace/logs query 2. SQL explorer, where I can slide and dice my telemetry 3. Application performance monitoring SigNoz seems good at 1 only, I tried query builder for 3 but does also got unexpected behavior
h
I haven't tried much of 2 or 3 since it seems every backend has its own way of storing metrics / traces and writing queries by hand can get complicated. What slicing / dicing are you attempting that's not possible with the built-in query builder?
I think the reason
limit 100
was need above was the
resource_string
attribute might not be on ALL metrics and a full-scan is expensive so the
timestamp
might be vital. If you describe the exact slicing/dicing you're attempting and why Query Builder isn't sufficient, maybe someone from Signoz could provide better guidance (than me) beyond just syntax.