-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix formatting of mapStateJSON
and layerListJSON
in dashboard assets
#28530
Fix formatting of mapStateJSON
and layerListJSON
in dashboard assets
#28530
Conversation
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
metricbeat/tests/system/test_base.py
Outdated
@@ -59,12 +59,12 @@ def test_template(self): | |||
assert len(es.cat.templates(name='metricbeat-*', h='name')) > 0 | |||
|
|||
@unittest.skipUnless(INTEGRATION_TESTS, "integration test") | |||
@pytest.mark.timeout(180, func_only=True) | |||
@pytest.mark.timeout(5*60, func_only=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
math doesn't add up :-)
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks good, adding a suggestion about sharing the code to test dashboards along beats.
Btw, this is a very good one 👍 |
@@ -3,7 +3,7 @@ | |||
version: '2.3' | |||
services: | |||
elasticsearch: | |||
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.0 | |||
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why wouldn't this be 8.0.0 for the tests on master branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these only released builds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest.yml
contains the latests releases. We use the environment in snapshot.yml
for the latest snapshots of 8.0.0 on master.
❕ Build Aborted
Expand to view the summary
Build stats
Test errorsExpand to view the tests failures
|
jenkins run tests |
…urnalbeat-ci * upstream/master: (49 commits) [CI]: use the downstream packaging pipeline for branches/tags (elastic#28589) fix: use declarative style for complete variant of the elastic-agent (elastic#28526) x-pack/auditbeat/tracing: fix regexp for kprobe description line (elastic#28609) docs: Update `api_key` example on elasticsearch output (elastic#28606) chore: add build scripts to CODEOWNERS (elastic#28615) Osquerybeat: Fix host_processes missing cmdline arguments (elastic#28622) Add note about changes to regexp package in Golang (elastic#28616) CI: nightly/weekly builds for 7.x targeting 7.16 instead (elastic#28612) Osquerybeat: Fix extenstion unable to start on windows (elastic#28598) Osquerybeat: Return the query result count with the action response (elastic#28576) Agent: Allow custom response properties in the action response (elastic#28575) [Heartbeat] Only setuid in elastic-agent image (elastic#28577) Fix formatting of `mapStateJSON` and `layerListJSON` in dashboard assets (elastic#28530) CI: refactor the run e2e build (elastic#28502) Use fsnotify with long windows name-safe changes (elastic#28517) Remove unneeded mergify config backport: Add 7.16 branch (elastic#28560) Add proxy_url support to threatintel module's malwarebazaar fileset (elastic#28533) Osquerybeat: Implement host_users, host_groups, host_processes tables as a part of our osquery_extension. (elastic#28434) [Heartbeat] Make run_once syntax a boolean (elastic#28548) ...
What does this PR do?
This PR introduces more transformations to dashboards that are loaded to Kibana to avoid parsing errors. For the sake of developers we save everything as JSON, but some of the values have to be loaded back to Kibana as strings. A few field conversions were missing, now they are added.
I have added dashboard loading tests to Metricbeat, Filebeat and Packetbeat to catch such errors before they are released/other teams discover it.
Why is it important?
Without this some dashboards cannot be loaded.
Checklist
~~- [ ] I have commented my code, particularly in hard-to-understand areas~`
- [ ] I have made corresponding changes to the documentation- [ ] I have made corresponding change to the default configuration files- [ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues
Closes #27988