You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Telegram sink sends small TableBlocks as sendDocument .txt attachments #2167
telegram_sink always ships every TableBlock as a Telegram document (sendDocument / sendFile) named {table_name}.txt, including tables that are only a few hundred bytes (typical Alertmanager label tables).
The sink also excludes TableBlock from the main message text:
# telegram_sink.py __is_telegram_text_block# enrichments text tables are too big for mobile devicereturnnot (isinstance(block, FileBlock) orisinstance(block, TableBlock))
and, when send_files is true (the default), uploads the table as a file:
Docs currently say tables are sent as file attachments because they are too big for Telegram clients. That is not true for small tables (Alert labels are typically well under 1KB).
Activity
fix(telegram): inline small TableBlocks instead of sendDocument .txt