Do-agent --help

From wikieduonline
Revision as of 14:27, 28 April 2021 by Welcome (talk | contribs) (Created page with "<pre> usage: do-agent [<flags>] Flags: -h, --help Show context-sensitive help (also try --help-long and --help-man). --collector.cpu.info Enab...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
usage: do-agent [<flags>]

Flags:
  -h, --help                    Show context-sensitive help (also try --help-long and --help-man).
      --collector.cpu.info      Enables metric cpu_info
      --collector.diskstats.ignored-devices="^(dm-|ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d+n\\d+p)\\d+$"
                                Regexp of devices to ignore for diskstats.
      --collector.filesystem.ignored-mount-points="^/(dev|proc|sys|var/lib/docker/.+)($|/)"
                                Regexp of mount points to ignore for filesystem collector.
      --collector.filesystem.ignored-fs-types="^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$"
                                Regexp of filesystem types to ignore for filesystem collector.
      --collector.netclass.ignored-devices="^$"
                                Regexp of net devices to ignore for netclass collector.
      --collector.netdev.device-blacklist=COLLECTOR.NETDEV.DEVICE-BLACKLIST
                                Regexp of net devices to blacklist (mutually exclusive to device-whitelist).
      --collector.netdev.device-whitelist=COLLECTOR.NETDEV.DEVICE-WHITELIST
                                Regexp of net devices to whitelist (mutually exclusive to device-blacklist).
      --collector.netstat.fields="^(.*_(InErrors|InErrs)|Ip_Forwarding|Ip(6|Ext)_(InOctets|OutOctets)|Icmp6?_(InMsgs|OutMsgs)|TcpExt_(Listen.*|Syncookies.*|TCPSynRetrans)|Tcp_(ActiveOpens|InSegs|OutSegs|PassiveOpens|RetransSegs|CurrEstab)|Udp6?_(InDatagrams|OutDatagrams|NoPorts|RcvbufErrors|SndbufErrors))$"
                                Regexp of fields to return for netstat collector.
      --collector.ntp.server="127.0.0.1"
                                NTP server to use for ntp collector
      --collector.ntp.protocol-version=4
                                NTP protocol version
      --collector.ntp.server-is-local
                                Certify that collector.ntp.server address is not a public ntp server
      --collector.ntp.ip-ttl=1  IP TTL to use while sending NTP query
      --collector.ntp.max-distance=3.46608s
                                Max accumulated distance to the root
      --collector.ntp.local-offset-tolerance=1ms
                                Offset between local clock and local ntpd time to tolerate
      --path.procfs="/proc"     procfs mountpoint.
      --path.sysfs="/sys"       sysfs mountpoint.
      --path.rootfs="/"         rootfs mountpoint.
      --collector.perf.cpus=""  List of CPUs from which perf metrics should be collected
      --collector.perf.tracepoint=COLLECTOR.PERF.TRACEPOINT ...
                                perf tracepoint that should be collected
      --collector.powersupply.ignored-supplies="^$"
                                Regexp of power supplies to ignore for powersupplyclass collector.
      --collector.qdisc.fixtures=""
                                test fixtures to use for qdisc collector end-to-end testing
      --collector.runit.servicedir="/etc/service"
                                Path to runit service directory.
      --collector.supervisord.url="http://localhost:9001/RPC2"
                                XML RPC endpoint.
      --collector.systemd.unit-whitelist=".+"
                                Regexp of systemd units to whitelist. Units must both match whitelist and not match blacklist to be included.
      --collector.systemd.unit-blacklist=".+\\.(automount|device|mount|scope|slice)"
                                Regexp of systemd units to blacklist. Units must both match whitelist and not match blacklist to be included.
      --collector.systemd.enable-task-metrics
                                Enables service unit tasks metrics unit_tasks_current and unit_tasks_max
      --collector.systemd.enable-restarts-metrics
                                Enables service unit metric service_restart_total
      --collector.systemd.enable-start-time-metrics
                                Enables service unit metric unit_start_time_seconds
      --collector.textfile.directory=""
                                Directory to read text files with metrics from.
      --collector.vmstat.fields="^(oom_kill|pgpg|pswp|pg.*fault).*"
                                Regexp of fields to return for vmstat collector.
      --collector.wifi.fixtures=""
                                test fixtures to use for wifi collector metrics
      --collector.arp           Enable the arp collector (default: enabled).
      --collector.bcache        Enable the bcache collector (default: enabled).
      --collector.bonding       Enable the bonding collector (default: enabled).
      --collector.btrfs         Enable the btrfs collector (default: enabled).
      --collector.buddyinfo     Enable the buddyinfo collector (default: disabled).
      --collector.conntrack     Enable the conntrack collector (default: enabled).
      --collector.cpu           Enable the cpu collector (default: enabled).
      --collector.cpufreq       Enable the cpufreq collector (default: enabled).
      --collector.diskstats     Enable the diskstats collector (default: enabled).
      --collector.drbd          Enable the drbd collector (default: disabled).
      --collector.edac          Enable the edac collector (default: enabled).
      --collector.entropy       Enable the entropy collector (default: enabled).
      --collector.filefd        Enable the filefd collector (default: enabled).
      --collector.filesystem    Enable the filesystem collector (default: enabled).
      --collector.hwmon         Enable the hwmon collector (default: enabled).
      --collector.infiniband    Enable the infiniband collector (default: enabled).
      --collector.interrupts    Enable the interrupts collector (default: disabled).
      --collector.ipvs          Enable the ipvs collector (default: enabled).
      --collector.ksmd          Enable the ksmd collector (default: disabled).
      --collector.loadavg       Enable the loadavg collector (default: enabled).
      --collector.logind        Enable the logind collector (default: disabled).
      --collector.mdadm         Enable the mdadm collector (default: enabled).
      --collector.meminfo       Enable the meminfo collector (default: enabled).
      --collector.meminfo_numa  Enable the meminfo_numa collector (default: disabled).
      --collector.mountstats    Enable the mountstats collector (default: disabled).
      --collector.netclass      Enable the netclass collector (default: enabled).
      --collector.netdev        Enable the netdev collector (default: enabled).
      --collector.netstat       Enable the netstat collector (default: enabled).
      --collector.nfs           Enable the nfs collector (default: enabled).
      --collector.nfsd          Enable the nfsd collector (default: enabled).
      --collector.ntp           Enable the ntp collector (default: disabled).
      --collector.perf          Enable the perf collector (default: disabled).
      --collector.powersupplyclass
                                Enable the powersupplyclass collector (default: enabled).
      --collector.pressure      Enable the pressure collector (default: enabled).
      --collector.processes     Enable the processes collector (default: disabled).
      --collector.qdisc         Enable the qdisc collector (default: disabled).
      --collector.rapl          Enable the rapl collector (default: enabled).
      --collector.runit         Enable the runit collector (default: disabled).
      --collector.schedstat     Enable the schedstat collector (default: enabled).
      --collector.sockstat      Enable the sockstat collector (default: enabled).
      --collector.softnet       Enable the softnet collector (default: enabled).
      --collector.stat          Enable the stat collector (default: enabled).
      --collector.supervisord   Enable the supervisord collector (default: disabled).
      --collector.systemd       Enable the systemd collector (default: disabled).
      --collector.tcpstat       Enable the tcpstat collector (default: disabled).
      --collector.textfile      Enable the textfile collector (default: enabled).
      --collector.thermal_zone  Enable the thermal_zone collector (default: enabled).
      --collector.time          Enable the time collector (default: enabled).
      --collector.timex         Enable the timex collector (default: enabled).
      --collector.udp_queues    Enable the udp_queues collector (default: enabled).
      --collector.uname         Enable the uname collector (default: enabled).
      --collector.vmstat        Enable the vmstat collector (default: enabled).
      --collector.wifi          Enable the wifi collector (default: disabled).
      --collector.xfs           Enable the xfs collector (default: enabled).
      --collector.zfs           Enable the zfs collector (default: enabled).
      --auth-host=http://169.254.169.254
                                Endpoint to use for obtaining droplet app key
      --metadata-host=http://169.254.169.254/metadata
                                Endpoint to use for obtaining droplet metadata
      --sonar-host=""           Endpoint to use for delivering metrics
      --stdout-only             write all metrics to stdout only
      --debug                   display debug information to stdout
      --syslog                  enable logging to syslog
      --k8s-metrics-path=K8S-METRICS-PATH
                                enable DO Kubernetes metrics collection (this must be a DOKS metrics endpoint)
      --bearer-token=BEARER-TOKEN
                                sets the `Authorization` header on every scrape request with the configured bearer token (mutually exclusive with `bearer-token-file`)
      --bearer-token-file=BEARER-TOKEN-FILE
                                sets the `Authorization` header on every scrape request with the bearer token read from the configured file (mutually exclusive with `bearer-token`)
      --no-collector.processes  disable processes cpu/memory collection
      --no-collector.node       disable processes node collection
      --dbaas-metrics-path=DBAAS-METRICS-PATH
                                enable DO DBAAS metrics collection (this must be a DO DBAAS metrics endpoint)
      --metrics-path=METRICS-PATH
                                enable metrics collection from a prometheus endpoint
      --web.listen              enable a local endpoint for scrapeable prometheus metrics as well
      --web.listen-address="127.0.0.1:9100"
                                write prometheus metrics to the specified port (ex. ":9100")
      --additional-label=ADDITIONAL-LABEL ...
                                key value pairs for labels to add to all metrics (ex: user_id:1234)
      --max-batch-size=MAX-BATCH-SIZE
                                default max batch size for sending metrics. This will be overridden after first write
      --max-metric-length=MAX-METRIC-LENGTH
                                default max metric length for metrics. This will be overridden after first write
      --process-topk=30         number of top processes to scrape
      --scrape-timeout=10s      timeout for scraping metrics
  -v, --version                 Show the application version information

See also

Advertising: