is there any query to get the total daily ingest size? we are running signoz on premise
p
Prashant Shahi
08/23/2024, 2:28 AM
it will be difficult to get daily ingest size for self-hosted SigNoz.
But you can get overall size using the following clickhouse query:
Copy code
SELECT
database,
table,
formatReadableSize(sum(data_compressed_bytes) AS size) AS compressed,
formatReadableSize(sum(data_uncompressed_bytes) AS usize) AS uncompressed,
round(usize / size, 2) AS compr_rate,
sum(rows) AS rows,
count() AS part_count
FROM system.parts
WHERE (active = 1) AND (database LIKE 'signoz_%')
GROUP BY
database,
table
ORDER BY size DESC;
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.