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

Upgrade experimental module (deps): Bump github.com/grafana/xk6-dashboard from 0.7.2 to 0.7.3 #3756

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 23, 2024

Bumps github.com/grafana/xk6-dashboard from 0.7.2 to 0.7.3.

Release notes

Sourced from github.com/grafana/xk6-dashboard's releases.

v0.7.3

xk6-dashboard v0.7.3 is here 🎉! This release includes:

  • Breaking Changes
  • Bug Fixes
  • Enablers

Breaking Changes

As of v0.49.0, k6 includes xk6-dashboard as a built-in output extension. The name of the built-in module is the same as was the output name (web-dashboard) registered by the extension. Therefore, if you try to use it as an extension (for example, a newer version), you will get the following error:

$ ./k6 run -o web-dashboard script.js
.
.
.
ERRO[0000] invalid output extension web-dashboard, built-in output with the same type already exists

From now on, the registered name of the extension is again the previously used dashboard. Thus, it is possible (for example, built with xk6) to use a version of the xk6-dashboard that is newer than the one integrated in k6. In this case, the dashboard name must be used as the output name.

$ ./k6 run -o dashboard script.js

Related issue

Bug Fixes

Enablers

The following enhancements enable various future dashboard UI feature developments.

SSE Stream Optimization

Previously on the SSE stream, the snapshot and cumulative events are sent as JSON objects, where the metric names are the property names. The property values are also JSON objects, in which the property names are the names of the aggregation function (avg, min, max, etc.). This two-level object hierarchy has not caused any problems so far, the amount of data has been acceptable.

Until now, aggregate counting per tag is still supported, but by default it is only allowed for the group tag. It would be necessary to turn on the aggregate calculation for the url and name tags as well (per URL graphs, summary, etc.). With the previous SSE stream format, this would significantly increase the amount of data. This would have a direct impact on the k6 memory requirement, so it is a problem.

Based on measurements, it can be concluded that using a two-level array structure instead of the two-level object structure used in snapshot and cumulative events significantly reduces the size of the events and thus also the memory requirement.

Therefore, instead of the two-level object structure, a two-level array structure implemented in the snapshot and cumulative events. The packages/model package also updated so it hides SSE stream changes from the rest of the dashboard UI.

... (truncated)

Commits
  • 7678d25 Merge pull request #187 from grafana/feature/v0.7.3
  • 20641f6 docs: updated bug fixes in release notes
  • 37acd38 Merge pull request #186 from grafana/185-dasboard-does-not-display-data-using...
  • 580a7dd fix: An empty array is placed in the place of the missing metric in the snaps...
  • e977608 Fix persistence of chart scale selection
  • 2dbf7a5 ci: workaround: latest mage has no macOS ARM release artifact
  • cf32694 generate code afer UI change
  • dfb2650 feat: Linter and linter configuration update according to the update in k6.
  • ee65dd4 fix: Fix type errors
  • 68b8fd2 refactor: Update UI for mobile
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

…oard

Bumps [github.com/grafana/xk6-dashboard](https://github.com/grafana/xk6-dashboard) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/grafana/xk6-dashboard/releases)
- [Changelog](https://github.com/grafana/xk6-dashboard/blob/master/.goreleaser.yaml)
- [Commits](grafana/xk6-dashboard@v0.7.2...v0.7.3)

---
updated-dependencies:
- dependency-name: github.com/grafana/xk6-dashboard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner May 23, 2024 12:29
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 23, 2024
@dependabot dependabot bot requested review from mstoykov, oleiade and a team and removed request for a team May 23, 2024 12:29
Copy link
Contributor Author

dependabot bot commented on behalf of github May 23, 2024

Looks like github.com/grafana/xk6-dashboard is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this May 23, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/grafana/xk6-dashboard-0.7.3 branch May 23, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants