Avisi cloud logo
Commands

observability prometheusrules Replace

Replace all the prometheusrules for a specific tenant

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

Examples

Replace the prometheusrules of a specific tenant with a base set of rules and overwrite some specific rules
acloud prometheusrules replace <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)
  -h, --help                help for Replace

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