CLI: Diagnostics



On This Page

 


The CLI references “skysync.” This is expected.

Diagnostics Metrics

In the following examples, the authentication parameters are provided within the configuration file.  See the authentication section for more information.

List the Metrics

parameter

description

required

default

parameter

description

required

default

metric, m

Metric name

optional

 

type, t

Metric type

optional

 

search, q

Search text

optional

 

 

Example 1: List all the metrics

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.  

Command

skysync-cli diagnostics metrics

Example results

Metric Value Type app.cpu.usage 0.012199251937412236 gauge app.disk.reads_per_sec 0.001687845136870207 gauge app.disk.writes_per_sec 0.0020560817640639635 gauge app.memory.usage 260.875 gauge app.uptime 102586.1691205 gauge app.version.build 0.0.0 gauge ...

 

Command (JSON)

skysync-cli diagnostics metrics --json

Example results (JSON)

 

Note that json output format via the cli is formatted differently than the native endpoint format.

Native metrics endpoint results

 

Example 2: List 'app.memory.usage' metric

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.  

Command

Example results

 

Example 3: List all the metrics of the type 'gauge'

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.

Command

Example results

 

Example 4: List all the metrics containing 'cpu' in metric name

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.

Command

Example results

 

Diagnostics Fiddler

FiddlerCore, by default, is not enabled in DryvIQ.  DryvIQ must be configured to enable FiddlerCore.  Click here for more information on how to configure DryvIQ to enable FiddlerCore.

In the following examples, the authentication parameters are provided within the configuration file.  See the authentication section for more information.

Status of Fiddler

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.  

Command

Example results

Example results

 

Command (JSON)

Example results (JSON)

 

Enable Fiddler

In the following example, the authentication parameters are provided within the configuration file.  See theauthenticationsection for more information.  

Command

Example results

 

command (JSON)

Example results (JSON)

 

Disable Fiddler

In the following example, the authentication parameters are provided within the configuration file.  See theauthenticationsection for more information.  

Command

Example results

 

Command (JSON)

Example results (JSON)

 

Download Fiddler Traces

parameter

description

required

default

parameter

description

required

default

targetDirectory

Relative or absolute path to save the downloaded installation package

optional

(current directory)

Example 1: Download the Fiddler traces

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.  

Command

Example results

 

Example 2: Download the Fiddler traces to a specified directory

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.  

Command

Command with example values

Example results

 

Purge Fiddler Traces

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.  

Command

Example results

 

Uninstall Fiddler Root Certificates

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.  

Command

Example results

 

Install Fiddler Root Certificates

In the following example, the authentication parameters are provided within the configuration file.  See the authentication section for more information.  

Command

Example results

Example results



DryvIQ Migrate Version: 5.6.3.4210
Release Date: April 4, 2024