Keep every attribute filter when opening a logs Panel in Logs

Open Beginner friendly
#196 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
observability

Research direction

Start by tracing how the logs Panel builds the “Open in Logs” link and how the Logs page parses its filters; the technical note says the link encodes filters as key=value, which breaks when a key contains =. Find the relevant source and tests, then verify that a key containing = produces the same filtered lines on both pages.

Written by the indexing model from the issue text.

Description

area:dashboards bug priority:low ready

As an operator looking at a logs Panel,
I want "Open in Logs" to keep every attribute filter of the Panel,
so that the Logs page shows the same lines as the Panel.

Acceptance criteria

  • Given a logs Panel filtered on an attribute whose key contains =, when I follow "Open in Logs", then the Logs page applies the same attribute filter and shows the same lines.

Success signal: the Panel and the Logs page list the same lines for any attribute key.
Out of scope: other characters in attribute values.
Open questions: none.

Technical notes

Found during #184 (PR #193). The link encodes filters as key=value, so a key with = splits in the wrong place.

Dominant language
Rust
Stars
0
Forks
0
Avg merge
40m
Merged PRs (30d)
91

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jdrouet/tinyobserve

All issues in jdrouet/tinyobserve

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.