forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Stack Monitoring] Migrate logs-related components to TypeScript (ela…
…stic#203536) A recent [bug](elastic#199902) that affected some of the pages in Stack Monitoring was caused by changes related to the locators of the logs-related apps. The issue wasn't caught by type checks as the affected area in the monitoring plugin was written in JavaScript. The goal of this PR is to migrate the logs-related components to TypeScript. The stateful environment deployed by this PR includes logs and metrics for stack monitoring. Please make sure to select a larger time range (e.g. last 14 days).
- Loading branch information
1 parent
e061b4c
commit 41dbdb5
Showing
12 changed files
with
128 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
x-pack/plugins/observability_solution/observability_onboarding/e2e/playwright/.env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
KIBANA_BASE_URL = "http://localhost:5601/ftw" | ||
ELASTICSEARCH_HOST = "http://localhost:9200" | ||
KIBANA_USERNAME = "elastic" | ||
KIBANA_PASSWORD = "changeme" | ||
|
||
# Comment this variable if running against a cloud environment | ||
CLUSTER_ENVIRONMENT = local | ||
# Folder that will contain all the playwright test results | ||
# along with artifacts like code snippets that are | ||
# picked up by Ensemble story on the CI | ||
ARTIFACTS_FOLDER = ./.playwright |
41 changes: 41 additions & 0 deletions
41
...bservability_solution/observability_onboarding/e2e/playwright/.playwright/.auth/user.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"cookies": [ | ||
{ | ||
"name": "sid", | ||
"value": "Fe26.2**0f6c7b5841cd939b4f7e6042e8e548a61396f6137a16a80468967d75a3c4a15d*3aO-W92cmioNifwGvMIe7w*Js9nTdolngZrFhPjTAihnf4ND08FtNYrODG00EvZrd193yWRvEVQy__7L5FZQtS1sD5LntsQMZO2gy5wPFuBKog0AXKOVIj-kxzIKtIbiUiTdLVZl2kqvmMqpYkhfFwK0SDubaMrypI14odSGRxYzAfGTL7czxDatfNdndIPTYlpkUCKKvJdTBZOQS2H3HbDlzPb71pFl7YPvQSSbdFe0frFIOytodO8JxPj2dsqIpGbZZ9mBfriiF3S6SU1ayR1DjLRMpyL32MLyOrlzJKy_w**b2cea11d4b35aa93dc79e42a09484d199a1fdac7234a01438f7dd2c084387c44*hj1VDxXhtXc4m9sC_vq_Xck3R3E8za4ramNZLcIL5pM", | ||
"domain": "localhost", | ||
"path": "/ftw", | ||
"expires": -1, | ||
"httpOnly": true, | ||
"secure": false, | ||
"sameSite": "Lax" | ||
} | ||
], | ||
"origins": [ | ||
{ | ||
"origin": "http://localhost:5601", | ||
"localStorage": [ | ||
{ | ||
"name": "newsfeed.kibana.readStatus", | ||
"value": "{\"235b3e1b48\":false,\"99c40b0db0\":false,\"297e88cb8d\":false}" | ||
}, | ||
{ | ||
"name": "analytics", | ||
"value": "{\"reportVersion\":3,\"userAgent\":{\"kibana-user_agent\":{\"key\":\"kibana-user_agent\",\"appName\":\"kibana\",\"type\":\"user_agent\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36\"}},\"uiCounter\":{\"ebt_counters.client-enqueued_enqueued-Loaded Kibana\":{\"key\":\"ebt_counters.client-enqueued_enqueued-Loaded Kibana\",\"appName\":\"ebt_counters.client\",\"eventName\":\"Loaded Kibana\",\"type\":\"enqueued_enqueued\",\"total\":1},\"ebt_counters.client-enqueued_enqueued-performance_metric\":{\"key\":\"ebt_counters.client-enqueued_enqueued-performance_metric\",\"appName\":\"ebt_counters.client\",\"eventName\":\"performance_metric\",\"type\":\"enqueued_enqueued\",\"total\":2},\"ebt_counters.client-sent_to_shipper_OK-Loaded Kibana\":{\"key\":\"ebt_counters.client-sent_to_shipper_OK-Loaded Kibana\",\"appName\":\"ebt_counters.client\",\"eventName\":\"Loaded Kibana\",\"type\":\"sent_to_shipper_OK\",\"total\":1},\"ebt_counters.client-sent_to_shipper_OK-performance_metric\":{\"key\":\"ebt_counters.client-sent_to_shipper_OK-performance_metric\",\"appName\":\"ebt_counters.client\",\"eventName\":\"performance_metric\",\"type\":\"sent_to_shipper_OK\",\"total\":2}}}" | ||
}, | ||
{ | ||
"name": "kibana.security.userAuthType", | ||
"value": "{\"signature\":\"dd4be0630945f1a8be8e10baabf6536c937d053481c09e30a0703b5ce17e1fcd\",\"timestamp\":1733926278035}" | ||
}, | ||
{ | ||
"name": "newsfeed.kibana.lastFetch", | ||
"value": "1733926278001" | ||
}, | ||
{ | ||
"name": "eui-experimental-theme-enabled", | ||
"value": "true" | ||
} | ||
] | ||
} | ||
] | ||
} |
4 changes: 4 additions & 0 deletions
4
...observability_solution/observability_onboarding/e2e/playwright/.playwright/.last-run.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"status": "passed", | ||
"failedTests": [] | ||
} |
1 change: 1 addition & 0 deletions
1
...y_solution/observability_onboarding/e2e/playwright/.playwright/code_snippet_kubernetes.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
kubectl kustomize https://github.com/elastic/elastic-agent/deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone\?ref\=v8.16.1 | sed -e 's/JUFQSV9LRVkl/enN3UHRwTUJRbjdEVk1laFpoZXA6ZEtrai1lRnFSUEcwYVhKbHREM2tIUQ==/g' -e "s/%ES_HOST%/http:\/\/localhost:9200/g" -e "s/%ONBOARDING_ID%/af9c9709-52da-45a8-904f-228aa2e61621/g" -e "s/\(docker.elastic.co\/beats\/elastic-agent:\).*$/\18.16.1/g" -e "/{CA_TRUSTED}/c\ " | kubectl apply -f- |