Skip to content

[BUGFIX] TimeSeriesChart: Grafana migration: handle string value for fillOpacity params#610

Merged
AntoineThebaud merged 1 commit intomainfrom
antoinethebaud/fix-tschart-migration-fillopacity
Mar 27, 2026
Merged

[BUGFIX] TimeSeriesChart: Grafana migration: handle string value for fillOpacity params#610
AntoineThebaud merged 1 commit intomainfrom
antoinethebaud/fix-tschart-migration-fillopacity

Conversation

@AntoineThebaud
Copy link
Contributor

@AntoineThebaud AntoineThebaud commented Mar 23, 2026

Description

in Grafana the fillOpacity attributes of the timeseries plugin can have a string value & our migration script was not handling that. This PR fixes that.

Screenshots

Fixes such error:

Message: bad request: unable to convert to Perses panel: spec.#querySettings.0.areaOpacity: invalid operands \"20\" and 100 to '/' (type string and int) StatusCode: 400"

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

…fillOpacity params

Signed-off-by: AntoineThebaud <antoine.thebaud@yahoo.fr>
@AntoineThebaud AntoineThebaud added this pull request to the merge queue Mar 27, 2026
Merged via the queue into main with commit addb13b Mar 27, 2026
16 checks passed
@AntoineThebaud AntoineThebaud deleted the antoinethebaud/fix-tschart-migration-fillopacity branch March 27, 2026 08:36
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