Skip to content

Merged Code in the MAIN feat(proxy): synthetics cli proxy support #1044 NOT TAGGED YET #1090

@mofakhar

Description

@mofakhar

This is related to this pull #1044
Despite the fact that the new code is pushed into the main, still not tagged yet!
I've tested with version 1.19.0 and the new feature for proxy is not available yet!!!

root@8e701f101428:/synthetic-project-multisteps-journeys# elastic-synthetics --version
1.19.0
root@8e701f101428:/synthetic-project-multisteps-journeys# npx @elastic/synthetics push --help
Usage: npx @elastic/synthetics push [options]

Push all journeys in the current directory to create monitors within the Kibana monitor management UI

Options:
--auth API key used for Kibana authentication(https://www.elastic.co/guide/en/kibana/master/api-keys.html). (env:
SYNTHETICS_API_KEY)
--schedule schedule in minutes for the pushed monitors. Setting 10, for example, configures monitors which don't have an
interval defined to run every 10 minutes.
--locations <locations...> default list of locations from which your monitors will run. (choices: "japan", "india", "singapore",
"australia_east", "united_kingdom", "germany", "canada_east", "brazil", "us_east", "us_west")
--private-locations <locations...> default list of private locations from which your monitors will run.
--url Kibana URL to upload the project monitors
--id project id that will be used for logically grouping monitors
--space the target Kibana spaces for the pushed monitors — spaces help you organise pushed monitors.
-y, --yes skip all questions and run non-interactively
--pattern RegExp pattern to match journey files in the current working directory (default: /*.journey.(ts|js)$/)
--tags <name...> run/push tests with the tag(s) matching a pattern
--fields add fields to the monitor(s) in the format { "key": "value"}
--match run/push tests with a name or tags that matches a pattern
-p, --params JSON object that defines any variables your tests require.
--playwright-options JSON object to pass in custom Playwright options for the agent. Options passed will be merged with Playwright
options defined in your synthetics.config.js file.
-c, --config path to the configuration file (default: synthetics.config.(js|ts))
-h, --help display help for command
root@8e701f101428:/synthetic-project-multisteps-journeys# npx @elastic/synthetics push --help | grep -i proxy
root@8e701f101428:/synthetic-project-multisteps-journeys#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions