Skip to content

check_alloy: Rewrite to auto-discover all supported components and report drops#366

Merged
konstantinbest merged 2 commits intomasterfrom
kp_alloy
Apr 13, 2026
Merged

check_alloy: Rewrite to auto-discover all supported components and report drops#366
konstantinbest merged 2 commits intomasterfrom
kp_alloy

Conversation

@konstantinbest
Copy link
Copy Markdown
Contributor

Example output:

OK - 3 component(s) checked | loki_write_default_dropped=0.0;10485760.0;52428800.0;0 loki_write_default_sent=9356.0 prometheus_remote_write_mimir_dropped=0.0;10485760.0;52428800.0;0 prometheus_remote_write_mimir_sent=4000.0 pyroscope_write_default_dropped=0.0;10485760.0;52428800.0;0 pyroscope_write_default_sent=0.0
Component                      Status  Dropped    Sent
-----------------------------  ------  ---------  ------------
loki.write.default             OK      0 bytes    9356 bytes
prometheus.remote_write.mimir  OK      0 samples  4000 samples
pyroscope.write.default        OK      0 bytes    0 bytes

Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Copy link
Copy Markdown
Contributor

@Phantuman Phantuman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py Outdated
Comment thread src/check_alloy.py
…ote fmt_row, improve state file error handling, fix duplicate assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants