feat(gui): Export logs button on the logs sensor card (#555) #607
No reviewers
Labels
No labels
area:frontend
area:gui
area:transfer
area:zenoh
breaking-change
bug
correlation
deployment
documentation
duplicate
enhancement
good first issue
help wanted
invalid
keyspace-v2
netring-0.27
netring-0.28
netring-0.29
nlink-0.24
performance
priority:p0
priority:p1
priority:p2
prototype
question
redesign
rerun
research
security
sensor:logs
sensor:netlink
sensor:netring
sensor:parallax
sensor:snmp
sensor:sysinfo
sensor:systemd
v3-roadmap
wave:0
wave:1
wave:2
wave:3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
marcpardo/zensight!607
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "logs/558-gui-log-export"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The log-bundle export (#555) shipped fully working on the bus — the logs
sensor advertises a
logbundleartifact kind and produces a zstd bundle over@blob— but there was no way to trigger it from the GUI.artifact_sectionmatched
KindAdvert::LogBundlein a no-op arm (=> {}), so no button rendered.Operators had nowhere to extract logs short of driving
@rpc/logs/artifact/requestby hand with
zenctl.What
Render an "Export logs (zstd)" button for the
LogBundleadvert in theper-sensor artifact section — the same surface that already shows Report /
Snapshot / Capture (via
sensors.rs), so it appears right on the logs sensor'scard. It:
configured
logbundleline/byte caps),identical lifecycle to the debug-report download,
max_linescap in its label when the sensor sets one.The richer filter-prefilled Export driven from the Logs feed (#554) layers on
top of this same request path and stays a follow-up.
Changes
zensight-common: re-exportLogBundleFormat.zensight/src/view/artifact_fetch.rs: theLogBundlebutton +logbundlewording in
ArtifactFetch::label().Verification
cargo clippy -p zensight -p zensight-common --all-targets -D warningsclean.cargo fmt --checkclean.cargo test -p zensight-common(100) +-p zensight --lib artifact(6) pass.🤖 Generated with Claude Code