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

[System] Migrate dashboards to "by value" #5023

Merged
merged 18 commits into from
Jan 19, 2023
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/system/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.21.0-next"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we normally tag versions here with -next? Don't know if I've seen that on an integration before?

Copy link
Contributor Author

@mrodm mrodm Jan 18, 2023

Choose a reason for hiding this comment

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

If -next is added to the version, it is not published. This can be used to allow other PRs to be added without releasing.

Here is a doc about it where it shows a possible use case: https://github.com/elastic/integrations/blob/main/docs/developer_workflow_design_build_test_integration.md#remember-to-bump-up-the-version

I set the version as this (without updating manifest.yml), so the package owner team can release this when they decide.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As talked to @jlind23 and @pierrehilbert about this versioning, I'll update the changelog entry and the manifest to be 1.21.0 version. So once it is merged, it will be published.

changes:
- description: Embed visualizations within dashboards (where possible) to make them self-contained and reduce Kibana saved object clutter.
type: enhancement
link: https://github.com/elastic/integrations/pull/5023
- version: "1.20.4"
changes:
- description: Remove wrong visualization from dashboard
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dynamic_fields:
"@timestamp": "^[0-9]{4}(-[0-9]{2}){2}T[0-9]{2}(:[0-9]{2}){2}\\.[0-9]{3}"
Comment on lines +1 to +2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As suggested in #4950, added this dynamic field to fix tests due to timestamps:

--- want
+++ got
@@ -1,7 +1,7 @@
 {
     "expected": [
         {
-            "@timestamp": "2022-05-21T21:54:44.000Z",
+            "@timestamp": "2023-05-21T21:54:44.000Z",
             "ecs": {
                 "version": "8.0.0"
             },

fields:
event.timezone: "+0000"
multiline:
Expand Down
Loading