Hi, our teams are familiar to work with Kibana (de...
# general
ł
Hi, our teams are familiar to work with Kibana (devs) and Grafana (ops). Is there a way to stay with these tools to access signoz data?
a
That won't be possible even going forward
What are you missing at signoz
ł
First of all, in Kibana I can decide which columns are displayed. And it's displayed in table and not json or any other type
In signoz it's not readable for humans
a
@Łukasz Herman you should be able to extract out fields for better visibility. You need to set parsing rules at otel-collector and add them to
selected
fields from
interesting
fields. If you can share your log line and what you want to extract from it, we can help with regex rules at otel-collector. cc @nitya-signoz
@nitya-signoz IMO we should also enable some sort of auto-parsing or parsing from the UI for more ease. Please create an issue for the same so that we can track that publicly
n
Sure @Ankit Nayan
c
I can’t think of how you would surface SigNoz data in Kibana, but there is a Clickhouse data source for Grafana which could probably be used to visualize SigNoz data. I’m actually planning on giving that a shot soon myself.
a
We are also thinking of using Grafana on top of SigNoz data since we want all alerts in one place (Grafana)
c
btw I got some time to try this out and querying/aggregating SigNoz trace data from Grafana via the ClickHouse data source works brilliantly 👍 here’s a quick example query that I put behind a timeseries panel:
Copy code
SELECT
  $__timeInterval(timestamp) as time
  ,sum(toInt32(tagMap['client.validSamples'])) as Written
  ,sum(toInt32(tagMap['client.initialSamples'])) as Attempted
FROM signoz_traces.signoz_index_v2
WHERE $__timeFilter(timestamp)
  AND (serviceName = '$app')
  AND has(tagMap, 'client.validSamples')
GROUP BY time
ORDER BY time ASC
a
nice, i didn’t try yet and was wondering if it worked at all haha
c
I was a little worried about time-binning but the Grafana time macros
$__timeInterval
and
$__timeFilter
work as advertised 🎉 also aggregating fields from the
tagMap
column works great. I was expecting performance to be a bit rocky, but ClickHouse continues to impress.
a
yeah its laser fast
c
now to figure out how to populate a Grafana Heatmap panel with SigNoz trace duration data 😅
a
lol, see you in 2 weeks
c
😭 really missing Elasticsearch’s date_histogram aggregation right now