keptn configure monitoring

keptn configure monitoring

Configures monitoring provider

Synopsis

Configure a monitoring solution for a Keptn cluster. This command sets up Dynatrace or Prometheus monitoring if it is not installed. Before executing the command, the dynatrace-service or prometheus-service has to be deployed.

Note: If you are executing keptn configure monitoring dynatrace, the service flag is optional since Keptn automatically detects the services of a project.

See https://keptn.sh/docs/develop/reference/monitoring/ for more information.

keptn configure monitoring <monitoring_provider> --project=<project> --service=<service> [flags]

Examples

keptn configure monitoring dynatrace --project=PROJECTNAME
keptn configure monitoring prometheus --project=PROJECTNAME --service=SERVICENAME

Options

  -h, --help             help for monitoring
  -p, --project string   The name of the project
  -s, --service string   The name of the service within the project

Options inherited from parent commands

      --mock                 mocking of server communication - ATTENTION: your commands will not be sent to the keptn server
  -q, --quiet                suppress debug and info output
      --suppress-websocket   disables websocket communication - use the ID of Keptn context (if provided) for checking the result of your command
  -v, --verbose              verbose logging

SEE ALSO

Auto generated by spf13/cobra on 29-Apr-2020