telemetry

command
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

telemetry

Summary

Plugin for configuring cluster-wide telemetry settings. These settings are applicable to any generic kubernetes cluster. Settings are respected by any Tanzu product exercising the telemetry SDK.

Usage

status
help output
$ tanzu telemetry status --help
Status of tanzu telemetry settings

Usage:
  tanzu telemetry status [flags]

Examples:

    # get status
    tanzu telemetry status

Flags:
  -h, --help   help for status
printing status of cluster
$ tanzu telemetry status
- ceip: |
    level: disabled
  shared_identifiers: |
    customer_csp_org_id: some-org
    customer_entitlement_account_number: ABCD
    env_is_prod: "true"
update
help output
$ tanzu telemetry update --help
Update tanzu telemetry settings

Usage:
  tanzu telemetry update [flags]

Examples:

    # opt into ceip
    tanzu telemetry update --CEIP-opt-in
    # opt out of ceip
    tanzu telemetry update --CEIP-opt-out
    # update shared configuration settings
    tanzu telemetry update --env-is-prod "true" --entitlement-account-number "1234" --csp-org-id "XXXX"


Flags:
      --CEIP-opt-in                         opt into VMware's CEIP program
      --CEIP-opt-out                        opt out of VMware's CEIP program
      --csp-org-id string                   Accepts a string and sets a cluster-wide CSP
                                                                            org ID. Empty string is equivalent to
                                                                            unsetting this value.
      --entitlement-account-number string   Accepts a string and sets a cluster-wide
                                                                            entitlement account number. Empty string is
                                                                            equivalent to unsetting this value
      --env-is-prod string                  Accepts a boolean and sets a cluster-wide
                                                                            value denoting whether the target is a
                                                                            production cluster or not.
  -h, --help                                help for update
opt in/out of telemetry
$ tanzu telemetry update --CEIP-opt-in
*no output*

$ tanzu telemetry update --CEIP-opt-out
*no output*

update shared identifiers
$ tanzu telemetry update --csp-org-id "test-org" --entitlement-account-number "XXXX" --env-is-prod false
found existing identifiers config map
Updating config map ....

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
Package cmd contains the cobra command code for each subcommand of the telemetry plugin
Package cmd contains the cobra command code for each subcommand of the telemetry plugin
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Package kubernetes contains utilities for interacting with kubernetes clusters and unit testing code that deals with clusters
Package kubernetes contains utilities for interacting with kubernetes clusters and unit testing code that deals with clusters
Package status contains logic for the status subcommand
Package status contains logic for the status subcommand
Package update contains logic for the update subcommand
Package update contains logic for the update subcommand

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL