10000 [ENHANCEMENT] Add decimal migrations; Add barchart migration by 7840vz · Pull Request #2386 · perses/perses · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[ENHANCEMENT] Add decimal migrations; Add barchart migration #2386

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

Merged
merged 5 commits into from
Oct 31, 2024
Merged

[ENHANCEMENT] Add decimal migrations; Add barchart migration #2386

merged 5 commits into from
Oct 31, 2024

Conversation

7840vz
Copy link
Contributor
@7840vz 7840vz commented Oct 29, 2024

Description

This adds bargauge->barchart migration and decimal places migration.

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.

@7840vz 7840vz changed the title [ENHANCEMENT] Add decimal migrations; Add barchart migraiton [ENHANCEMENT] Add decimal migrations; Add barchart migration Oct 29, 2024
@Nexucis
Copy link
Member
Nexucis commented Oct 29, 2024

Thank you for the enhancement! Do you mind to target the branch release/v0.49 @7840vz ? Like that we can include it in the next rc for the v0.49.0 :)

@7840vz 7840vz changed the base branch from main to release/v0.49 October 29, 2024 14:43
@7840vz
Copy link
Contributor Author
7840vz commented Oct 29, 2024

done

@Nexucis
Copy link
Member
Nexucis commented Oct 29, 2024

would you mind to rebase your PR base on the new branch ? There are some commit that are not related to your PR here

7840vz and others added 3 commits October 29, 2024 22:56
Signed-off-by: 7840vz <7840vz@users.noreply.github.com>
Signed-off-by: 7840vz <7840vz@users.noreply.github.com>
Signed-off-by: 7840vz <7840vz@users.noreply.github.com>
@7840vz
Copy link
Contributor Author
7840vz commented Oct 29, 2024

rebased.

@Nexucis
Copy link
Member
Nexucis commented Oct 29, 2024

awesome thank you @7840vz !
It looks ok for me, but I would prefer @AntoineThebaud to confirm it :)

Copy link
Contributor
@AntoineThebaud AntoineThebaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing that! Could you just please add a unit test covering the barchart panel migration? Here 'would be better to add a new test with a new grafana json containing a single barchart panel only, rather than appending stuff to the simple_grafana_dashboard which is quite big already

@AntoineThebaud
Copy link
Contributor

This PR closes #1525.

Signed-off-by: 7840vz <122374011+7840vz@users.noreply.github.com>
@7840vz
Copy link
Contributor Author
7840vz commented Oct 30, 2024

Added test

Signed-off-by: 7840vz <122374011+7840vz@users.noreply.github.com>
@7840vz 7840vz requested a review from AntoineThebaud October 30, 2024 10:45
Copy link
Contributor
@AntoineThebaud AntoineThebaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@Nexucis Nexucis merged commit 4e6c044 into perses:release/v0.49 Oct 31, 2024
18 checks passed
@7840vz 7840vz deleted the patch-7 branch November 2, 2024 14:18
abelyakin pushed a commit to abelyakin/perses that referenced this pull request Dec 2, 2024
…2386)

* Add barchart migration

Signed-off-by: 7840vz <7840vz@users.noreply.github.com>

* Update test

Signed-off-by: 7840vz <7840vz@users.noreply.github.com>

* Fix test

Signed-off-by: 7840vz <7840vz@users.noreply.github.com>

* Add test

Signed-off-by: 7840vz <122374011+7840vz@users.noreply.github.com>

* Update test

Signed-off-by: 7840vz <122374011+7840vz@users.noreply.github.com>

---------

Signed-off-by: 7840vz <7840vz@users.noreply.github.com>
Signed-off-by: 7840vz <122374011+7840vz@users.noreply.github.com>
Co-authored-by: 7840vz <7840vz@users.noreply.github.com>
abelyakin pushed a commit to abelyakin/perses that referenced this pull request Dec 4, 2024
…2386)

* Add barchart migration

Signed-off-by: 7840vz <7840vz@users.noreply.github.com>

* Update test

Signed-off-by: 7840vz <7840vz@users.noreply.github.com>

* Fix test

Signed-off-by: 7840vz <7840vz@users.noreply.github.com>

* Add test

Signed-off-by: 7840vz <122374011+7840vz@users.noreply.github.com>

* Update test

Signed-off-by: 7840vz <122374011+7840vz@users.noreply.github.com>

---------

Signed-off-by: 7840vz <7840vz@users.noreply.github.com>
Signed-off-by: 7840vz <122374011+7840vz@users.noreply.github.com>
Co-authored-by: 7840vz <7840vz@users.noreply.github.com>
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.

3 participants
0