5 Analytics Services

Analytics enables you to graph a variety of statistics in real time and record data for later retrieval. You can perform both long-term monitoring and short-term analysis. Analytics uses DTrace to dynamically create custom statistics that allow different layers of the operating system stack be analyzed in detail.

Analytics Commands

The following Analytics services are available at: http://hostname/api/analytics/v{1|2}.

Table 5-1 Analytics Commands

Request Append to Path /analytics/v{1|2} Description

GET

Use only /analytics/v{1|2}

List analytics service information

POST

/worksheets

Create a new analytics dataset

GET

/worksheets/worksheet

Get the specified analytics dataset properties

GET

/worksheets

List all analytics dataset objects

PUT

/worksheets/worksheet

Modify the specified analytics dataset object

DELETE

/worksheets/worksheet

Destroy the specified worksheet object

PUT

/worksheets/worksheet/suspend

Suspend all worksheet datasets

PUT

/worksheets/worksheet/resume

Resume all worksheet datasets

POST

/worksheets/worksheet/datasets

Create a new worksheet dataset

GET

/worksheets/worksheet/datasets/dataset

Get the specified worksheet dataset properties

GET

/worksheets/worksheet/datasets

List all worksheet dataset objects

PUT

/worksheets/worksheet/datasets/dataset

Modify the specified worksheet dataset object

DELETE

/worksheets/worksheet/datasets/dataset

Destroy the specified dataset object

POST

/datasets

Create a new analytics dataset

GET

/datasets/dataset

Get the specified analytics dataset properties

GET

/datasets

List all analytics dataset objects

PUT

/datasets/dataset

Modify the specified analytics dataset object

DELETE

/datasets/dataset

Destroy the specified dataset object

PUT

/datasets

Suspend or resume all datasets

PUT

/datasets/dataset/data

Save this dataset (if unsaved)

DELETE

/datasets/dataset/data

Remove data at the given [granularity] from this dataset

GET

/settings

List analytics settings

PUT

/settings

Modify analytics settings