Avisi cloud logo
Commands

observability prometheusrules add

Add the prometheusrule to a specific tenant

acloud observability prometheusrules add [observability-tenant-slug] [flags]

Examples

Add prometheusrules to a specific tenant
acloud prometheusrules add <tenant-name> -d ./base-dir,another-dir -f specific-rule.yaml -f another-specific-rule.yaml

Options

  -d, --directory strings   Name the director(y)(ies) from which files should be added (comma separated for fallback)
  -f, --filepath strings    Name the file(s) that should be added (comma separated for fallback)
      --force               Force the overwriting of files
  -h, --help                help for add

Options inherited from parent commands

  -C, --context string                    sets the context
      --debug                             enable debug mode
      --debug-show-authorization-header   prints actual authorization header in debug mode, use with caution!
  -O, --organisation string               sets the organisation
      --request-timeout duration          request timeout for api calls to the Avisi Cloud API (default 15s)
      --trace                             enable trace mode

SEE ALSO

On this page