You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of elastic/uptime#432 we'll need to support sending zips to GCP cloud storage after the discovery phase, and the retrieval of that same asset in the execution phase. This lets the discovery phase happen on one node, and many parallel invocations of execution happen on other nodes without re-downloading the asset from the original source. Additionally, we can upload a zip with node_modules pre-installed speeding up execution.
This would work hand-in-hand with #29917 and is blocked by it.
Sample Discovery Config
# Discovery configheartbeat.monitors:
- id: elastic-monitorname: Elastic Monitordiscovery:
enabled: truestore:
gcp:
bucket: "my-bucket-name"base_path: "/path/to/my/zips"auth: # GCP auth settings if not using instance credsschedule: '@every 1m'source:
zip_url:
url: "https://github.com/elastic/synthetics-demo/archive/refs/heads/main.zip"
Additional fields in discovery doc
The bucket and full path would be added to the discovery doc as:
{"suite": {},// omitting for brevity"cached_source": {"gcp_url": {// note the structure here is identical to the heartbeat yaml in the execution config under `source`"bucket": "my-bucket-name","path": "/path/to/my/zips/oeuh89g89h9823.zip"}}}
As part of elastic/uptime#432 we'll need to support sending zips to GCP cloud storage after the discovery phase, and the retrieval of that same asset in the execution phase. This lets the discovery phase happen on one node, and many parallel invocations of execution happen on other nodes without re-downloading the asset from the original source. Additionally, we can upload a zip with
node_modules
pre-installed speeding up execution.This would work hand-in-hand with #29917 and is blocked by it.
Sample Discovery Config
Additional fields in discovery doc
The bucket and full path would be added to the discovery doc as:
Sample Execution Config
The text was updated successfully, but these errors were encountered: