Repository navigation
Chore/prepare v0.56 release - #981
Merged
Merged
Conversation
…#962) Signed-off-by: luweglarz <lucas.weglarz@amadeus.com>
Signed-off-by: luweglarz <lucas.weglarz@amadeus.com>
…tion (#954) The regexp match added for byRegexp overrides also applied to byName, so a byName option was used as an unanchored regexp: "5m" also matched "15m", which failed the migration when "15m" had its own color, and a name that is not a valid regexp failed it too. A target without legendFormat failed on null =~ string. byName now compares the legendFormat exactly. The regexp is only evaluated for byRegexp overrides on a target with a legendFormat, behind comprehension guards, since an error in any operand of && or || fails the expression. Fixes perses/perses#4786 Signed-off-by: Mohit Mishra <immadmohit@gmail.com>
#898) * [BUGFIX] Splunk: harden export parsing, job polling and missing values Skip export lines that carry no result and name the Splunk export response when a line is not valid JSON. Throw when a job status response is malformed instead of fetching results of an unfinished job. Leave a gap for missing or non-numeric time series values instead of plotting zero. Fixes #897 Signed-off-by: Ankit Garg <146389256+AnKiT-GaRG2@users.noreply.github.com> * [BUGFIX] Splunk: treat null and blank values as gaps Signed-off-by: Ankit Garg <146389256+AnKiT-GaRG2@users.noreply.github.com> --------- Signed-off-by: Ankit Garg <146389256+AnKiT-GaRG2@users.noreply.github.com>
…ing() (#974) The PromQL serializer only wrote the vector matching clause when it had labels or used on(), and the group modifier only inside that clause. For foo * ignoring() group_left(job) bar both were dropped, so the PromQL tree view ran foo * bar, which fails with a many-to-one matching error. Write the clause whenever a group modifier is set, like upstream. Signed-off-by: rida <ghreizyrida1@gmail.com>
* [FEATURE] TracingGanttChart: show span events in the timeline Render a marker for each span event on the span bars. Clicking a marker opens the detail pane on the events tab, with the event expanded and scrolled into view. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Guillaume LADORME <gladorme@users.noreply.github.com> * [FEATURE] TracingGanttChart: refine focused span event behavior Scroll the focused event into view once it is expanded, clear the focus when switching tabs, keep off-viewport event markers out of the tab order, and toggle events with a functional state update. Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> * [FEATURE] TracingGanttChart: simplify span event marker styles Draw the marker line with the button's content-box background instead of a ::before pseudo-element, and center it exactly on the event time. Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> * [FEATURE] TracingGanttChart: render non-interactive event markers without a click handler Without onEventClick, render the markers as plain spans so they are not focusable and clicks select the row. Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> --------- Signed-off-by: Guillaume LADORME <gladorme@users.noreply.github.com> Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
) computeFilterExpr put the label values of the metrics finder filters between double quotes without escaping them, so a value containing a double quote, a backslash or a line break produced an invalid PromQL selector, and the finder's queries failed. Escape them like a PromQL double-quoted string. Signed-off-by: rida <ghreizyrida1@gmail.com>
Signed-off-by: luweglarz <lucas.weglarz@amadeus.com>
* [FEATURE] TimeSeriesChart: center the Y axis on zero axisCenteredZero sets symmetric bounds from the larger absolute value on the primary axis. A log scale or an explicit min or max keeps its own bounds. Grafana custom.axisCenteredZero migrates when it is true. Fixes perses/perses#4620 Signed-off-by: colivi <charles.olivi@gmail.com> * [FEATURE] TimeSeriesChart: align the YAxis struct Signed-off-by: colivi <charles.olivi@gmail.com> * [FEATURE] TimeSeriesChart: add a synthetic centered-axis preview The picture uses invented inbound and outbound series. It is not published with the package. Signed-off-by: colivi <charles.olivi@gmail.com> * [FEATURE] TimeSeriesChart: address the centered-axis review Round the half-range up so the peak is not stuck on the last tick. Drop the preview image. Document the option, and clear the switch when min, max, or a log scale is set. Signed-off-by: colivi <charles.olivi@gmail.com> * [FEATURE] TimeSeriesChart: round centered bounds and document them Pad the half-range and round it up to one significant digit. Document the option, add schema and migrate fixtures, and clear the switch when min, max, or a log scale is set. Signed-off-by: colivi <charles.olivi@gmail.com> * [FEATURE] TimeSeriesChart: round the centered axis one order finer roundUp ceilings to the step one order below the leading digit, so 1001 becomes 1100 instead of 2000. A value already on that step stays there. Signed-off-by: colivi <charles.olivi@gmail.com> * [FEATURE] TimeSeriesChart: keep centered bounds finite at the float edges roundUp returns the absolute value when the step underflows to zero, and clamps a product that overflows to Number.MAX_VALUE. The 1.2 padding uses the same bound. A zero or non-finite extent stays at 1. Signed-off-by: colivi <charles.olivi@gmail.com> * [FEATURE] TimeSeriesChart: test centered bounds for stacks and extra axes A stacked total is centered as the extent ECharts reports, and the series are not summed. An extra unit keeps its own right-hand scale while the primary axis stays symmetric. Signed-off-by: colivi <charles.olivi@gmail.com> --------- Signed-off-by: colivi <charles.olivi@gmail.com>
…rmatting (#924) * [IGNORE] Table: test that the column unit is kept with conditional formatting Add tests for a column with format.unit set to bytes and conditional cellSettings, defined at the column level and globally, to make sure the unit is still applied when a condition matches. This covers the behaviour fixed by the cell format change in the table plugin. Signed-off-by: Souvik Biswas <souvikbiswas.dev@gmail.com> * [IGNORE] Table: assert conditional colors in the unit regression tests The unit assertions alone would also pass when no condition matches, so also check the text color of the cells for 0, 150000000 and 27487790694, and that the unconditioned column has no condition color. Signed-off-by: Souvik Biswas <souvikbiswas.dev@gmail.com> --------- Signed-off-by: Souvik Biswas <souvikbiswas.dev@gmail.com>
* [BREAKINGCHANGE] Markdown: add option to enable HTML rendering, disabled by default Raw HTML in Markdown panels is now escaped and displayed as plain text unless the new enableHtml option is set, so placeholders such as <host>:<port> are no longer stripped by the sanitizer. DOMPurify is kept as a second layer in both modes. Grafana text panels in html mode are migrated with enableHtml: true. The option is available in the panel editor, the CUE schema, the Go SDK (EnableHTML) and the docs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> * [BREAKINGCHANGE] Markdown: rename enableHtml option to renderHtml Align the option name with perses/perses#4684. The Go SDK option is renamed from EnableHTML to RenderHTML. HTML rendering stays disabled by default, and Grafana text panels in html mode are still migrated with renderHtml: true. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> * [BUGFIX] Markdown: disable raw HTML tokenizers instead of escaping in the renderer Overriding the html renderer did not escape everything: content following a raw <code>, <kbd> or <pre> tag was kept as HTML, so e.g. an <img> nested in <code> was still rendered and loaded when renderHtml is disabled. Raw HTML is now not tokenized at all, so it is escaped as plain text. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> --------- Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [FEATURE] allow table column values to be rendered as tags Signed-off-by: Gabriel Bernal <gbernal@redhat.com> * [IGNORE] optimize tag keys Signed-off-by: Gabriel Bernal <gbernal@redhat.com> * [IGNORE] extract tags settings from column editor Signed-off-by: Gabriel Bernal <gbernal@redhat.com> * [IGNORE] use selectors instead of button groups for better ux and clarity Signed-off-by: Gabriel Bernal <gbernal@redhat.com> * [IGNORE] re format after conflict resolution Signed-off-by: Gabriel Bernal <gbernal@redhat.com> --------- Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
…ment and SDK log base (#978) * [BUGFIX] HeatMapChart: fix axis labels, tooltip time zone, cell alignment and SDK bounds - Show dates on the X axis for time ranges between 6 months and 2 years. - Format the tooltip date and time in the dashboard time zone. - Select the "None" log base option when no log base is set. - Center each bucket on its timestamp, aligned with the axis label and exemplars. - Place histogram samples at the nearest timestamp and drop samples outside the time range from the axis and color ranges. - Fall back to the computed bound when a non-positive min/max is set on a log scale. - Go SDK: keep Min(0)/Max(0) and reject log bases other than 2 and 10. - Document min, max and logBase in the model docs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Guillaume LADORME <gladorme@users.noreply.github.com> * [BUGFIX] HeatMapChart: keep open-ended buckets and end-of-range samples from breaking the chart Ignore non-finite bucket bounds (e.g. +Inf) when computing the Y axis range, and map samples and exemplars between the last step and the query end to the last category. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Guillaume LADORME <gladorme@users.noreply.github.com> * [IGNORE] HeatMapChart: keep float64 Min/Max in the Go SDK Revert the *float64 change of PluginSpec.Min/Max to avoid a breaking change; it will be handled in a separate PR across all panels. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> --------- Signed-off-by: Guillaume LADORME <gladorme@users.noreply.github.com> Signed-off-by: Guillaume LADORME <Gladorme@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [BUGFIX] Return Trino log notices in query result metadata Put truncation and skipped-row notices beside the executed query so the dashboard panel can display them. Signed-off-by: Raj Zalavadia <rzalavad@redhat.com> * [IGNORE] Handle optional log query strings in OpenSearch tests Keep verifying that OpenSearch records a nonempty executed query string while accepting the optional field in the shared LogMetadata type. Signed-off-by: Raj Zalavadia <rzalavad@redhat.com> --------- Signed-off-by: Raj Zalavadia <rzalavad@redhat.com>
* [DOC] Add Canvas plugin documentation Signed-off-by: Adrian Sepiół <a.sepiol@sap.com> * [DOC] update canvas plugin documentation: remove query settings section and clarify settings editor modes Signed-off-by: Adrian Sepiół <a.sepiol@sap.com> --------- Signed-off-by: Adrian Sepiół <a.sepiol@sap.com>
Signed-off-by: Seyed Mahmoud Shahrokni <39291137+shahrokni@users.noreply.github.com>
shahrokni
requested review from
a team,
AntoineThebaud,
Nexucis and
andreasgerstmayr
as code owners
December 2, 2026 09:32
shahrokni
requested review from
Gladorme and
jgbernalp
and removed request for
a team,
AntoineThebaud,
Nexucis,
andreasgerstmayr and
jgbernalp
December 2, 2026 09:32
|
React Doctor found 1 new issue in 1 file · 1 warning · score 40 / 100 (Critical) · 3 fixed · vs 1 warning
Reviewed by React Doctor for commit |
| /** | ||
| * DetailPane renders a sidebar showing the span attributes etc. | ||
| */ | ||
| export function DetailPane(props: DetailPaneProps): ReactElement { |
There was a problem hiding this comment.
React Doctor · react-doctor/no-high-complexity-react-function (warning)
DetailPane has cyclomatic complexity 16, cognitive complexity 16, and maximum nesting depth 2, so its React logic is hard to understand and change. Extract independent branches into components or hooks.
Fix → Extract independent render branches and state logic into focused components or hooks until the control flow is easy to follow.
Gladorme
approved these changes
Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync Main and Release 0.56