Slackbot
02/18/2024, 7:22 PMSrikanth Chekuri
02/19/2024, 6:13 AMThe span name SHOULD be the most general string that identifies a (statistically) interesting class of Spans, rather than individual Span instances while still being human-readable. That is, "get_user" is a reasonable name, while "get_user/314159", where "314159" is a user ID, is not a good name due to its high cardinality. Generality SHOULD be prioritized over human-readability.https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#span
Al
02/19/2024, 4:34 PMSrikanth Chekuri
02/19/2024, 6:03 PMAl
02/24/2024, 2:40 PM62. DB::Exception: Syntax error: failed at position 262103 (''Elasticsearch DELETE domain_objects_971gaf95-5a65-4eef-bcd5-cec23fd391d6_23fd9d6c-cdec-435c-a8d5-390169141a32_temp'') (line 6, col 261938): 'Elasticsearch DELETE domain_objects_971gaf95-5a65-4eef-bcd5-cec23fd391d6_23fd9d6c-cdec-435c-a8d5-390169141a32_temp', 'Elasticsearch DELETE domain_ob. Max query size exceeded: ''Elasticsearch DELETE domain_objects_971gaf95-5a65-4eef-bcd5-cec23fd391d6_23fd9d6c-cdec-435c-a8d5-390169141a32_temp''. (SYNTAX_ERROR):
0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c800f1b in /usr/bin/clickhouse
1. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000c857c6d in /usr/bin/clickhouse
2. DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001316c11c in /usr/bin/clickhouse
I am confused why that span name still exists, due to the following transform:
- replace_match(name, "Elasticsearch DELETE domain_objects_*", "Elasticsearch DELETE")
Also, if I query for that span name, it does not exist:
SELECT name,
from signoz_traces.distributed_signoz_index_v2
where startsWith(name,'Elasticsearch DELETE domain')
order by `timestamp` desc LIMIT 10
Ok.
0 rows in set. Elapsed: 0.014 sec. Processed 930.10 thousand rows, 931.02 KB (67.50 million rows/s., 67.56 MB/s.)
Is there any manual purging required of the no longer relevant, previously long, high cardinality span names?
Thanks @Srikanth ChekuriSrikanth Chekuri
02/24/2024, 5:14 PMIs there any manual purging required of the no longer relevant, previously long, high cardinality span namesYes, can you truncate the
signoz_traces.top_level_operations
and check? It should fill up back fairly quickly.Al
02/24/2024, 5:26 PMSigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.
Powered by