Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix retrieving probe logs by target name when probed by multiple modules #1257

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EconomicTouristsArmLate
Copy link

@EconomicTouristsArmLate EconomicTouristsArmLate commented Jun 17, 2024

Followup to #1063, which landed in 0.25.0:

When fetching logs of probes, this added URL query parameter allows to uniquely identify a probe log by target and module.

Previously with the ?target= selector only (added in #1063), it was impossible to select the correct probe log, when multiple modules had probed a target.

In other words - this addition is a requirement, for reliably linking to the latest log of a probe with a given module (for example from dashboards).

@EconomicTouristsArmLate EconomicTouristsArmLate force-pushed the feat-logs-add-module-filter branch 7 times, most recently from dabf913 to 4f0f1f6 Compare June 18, 2024 12:30
@EconomicTouristsArmLate EconomicTouristsArmLate force-pushed the feat-logs-add-module-filter branch from 4f0f1f6 to b9628bc Compare August 7, 2024 14:09
@EconomicTouristsArmLate
Copy link
Author

rebased onto latest master

@EconomicTouristsArmLate EconomicTouristsArmLate changed the title feat: Add optional /logs?module= filter parameter Fix retrieving probe logs by target name when probed by multiple modules Aug 7, 2024
This allows to uniquely identify a probe by target and module.

Previously with the `?target=` selector only,  it was impossible to
select the correct probe log, when multiple modules had probed a target.

Signed-off-by: Norwin Roosen <[email protected]>
Signed-off-by: Norwin Roosen <[email protected]>
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.

2 participants