kalix projects observability set metrics otlp

Set your project to export metrics to an OTLP collector.

kalix projects observability set metrics otlp [flags]


      --client-cert-secret string   If set, will use the given TLS secret for client TLS authentication.
      --endpoint string             The endpoint to export to.
      --header stringArray          A key=value pair that will be added to the headers of outgoing requests. Can be passed multiple times, for example --header My-Header-1=value1 --header My-Header-2="value2 with spaces".
      --header-secret stringArray   A key=secret/secret-key pair, for example --header-secret X-Token=my-secret/token. Can be passed multiple times.
  -h, --help                        help for otlp
      --insecure                    If set to true, TLS will not be used.
      --insecure-skip-verify        If set to true, the certificate supplied by the server will not be verified.
      --owner string                the owner of the project to use, needed if you have two projects with the same name from different owners
      --project string              project to use if not using the default configured project
      --server-ca-secret string     If set, will use the given TLS CA secret for server TLS verification.

Options inherited from parent commands

      --cache-file string   location of cache file (default "~/.kalix/cache.yaml")
      --config string       location of config file (default "~/.kalix/config.yaml")
      --context string      configuration context to use
      --disable-prompt      Disable all interactive prompts when running kalix commands. If input is required, defaults will be used, or an error will be raised.
                            This is equivalent to setting the environment variable KALIX_DISABLE_PROMPTS to true.
  -o, --output string       set output format to one of [text,json,gotemplate=] (default "text")
  -q, --quiet               set quiet output (helpful when used as part of a script)
      --timeout duration    client command timeout (default 10s)
      --use-grpc-web        use grpc-web when talking to Kalix APIs. This is useful when behind corporate firewalls that decrypt traffic but don't support HTTP/2.
  -v, --verbose             set verbose output