keptn send event start-evaluation

keptn send event start-evaluation

Sends an start-evaluation event to Keptn to evaluate a test for the specified service in the provided project and stage

Synopsis

Sends a start-evaluation event to Keptn in order to evaluate a test for the specified service in the provided project and stage.

  • This command takes the project (–project), stage (–stage), and the service (–service), which should be evaluated.
  • It is necessary to specify a time frame (–timeframe) of the evaluation. If, for example, the flag is set to –timeframe=5m, the evaluation is conducted for the last 5 minutes.
  • To specify a particular starting point, the flag –start flag can be used. In this case, the specified time frame is added to the starting point.
keptn send event start-evaluation [flags]

Examples

keptn send event start-evaluation --project=sockshop --stage=hardening --service=carts --timeframe=5m --start=2019-10-31T11:59:59

keptn send event start-evaluation --project=sockshop --stage=hardening --service=carts --start=2019-10-31T11:59:59 --end=2019-10-31T12:04:59 --labels=test-id=1234,test-name=performance-test

Options

      --end string              The end point to which the evaluation data should be gathered in UTC (can not be used together with --timeframe)
  -h, --help                    help for start-evaluation
  -l, --labels stringToString   Additional labels to be provided to the lighthouse service (default [])
      --project string          The project containing the service to be evaluated
      --service string          The service to be evaluated
      --stage string            The stage containing the service to be evaluated
      --start string            The starting point from which to start the evaluation in UTC
      --timeframe string        The time frame from which the evaluation data should be gathered (can not be used together with --end)

Options inherited from parent commands

      --mock                 Disables communication to a Keptn endpoint
  -q, --quiet                Suppresses debug and info messages
      --suppress-websocket   Disables WebSocket communication to suppress info messages from services running inside Keptn
  -v, --verbose              Enables verbose logging to print debug messages

SEE ALSO

Auto generated by spf13/cobra on 3-Aug-2020