Slackbot
02/10/2022, 9:10 AMPranay
Pranay
Pranay
./clickhouse client --host <SigNoz IP> --port 9001
select * from signoz_metrics.time_series
_signoz_metrics.time_series is a table_
3. Find distinct labels available ( this may not be very accessible so we recommend step 4)
select DISTINCT(labels) from signoz_metrics.time_series
4. If needed, dump in a csv file and parse it locally
select DISTINCT(labels) from signoz_metrics.time_series INTO OUTFILE 'output.csv'
- for dumping into a csv to parse via searchingPranay
Ankit Nayan
ports:
- "9001:9000"
Patrik Potocki
02/10/2022, 11:56 AMPatrik Potocki
02/10/2022, 12:20 PMkubectl port-forward svc/signoz-clickhouse 8123:8123
and used datagrip thanks 🙂Ankit Nayan
Patrik Potocki
02/10/2022, 12:40 PMselect DISTINCT(JSONExtractString(labels,'__name__')) from signoz_metrics.time_series