(DEPRECATED) Disable a collector.
cloudkitty collector disable
[-h]
[--sort-ascending | --sort-descending]
name
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Name of the collector
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Enable a collector.
cloudkitty collector enable
[-h]
[--sort-ascending | --sort-descending]
name
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Name of the collector
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Get the state of a collector.
cloudkitty collector state get
[-h]
[--sort-ascending | --sort-descending]
name
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Name of the collector
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Create a service to collector mapping.
cloudkitty collector-mapping create
[-h]
[--sort-ascending | --sort-descending]
service
collector
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Name of the service
Name of the collector
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Delete a service to collector mapping.
cloudkitty collector-mapping delete [-h] service
show this help message and exit
Name of the service
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Get a service to collector mapping.
cloudkitty collector-mapping get
[-h]
[--sort-ascending | --sort-descending]
service
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Name of the service to filter on
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) List service to collector mappings.
cloudkitty collector-mapping list
[-h]
[--sort-ascending | --sort-descending]
[--collector COLLECTOR]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Name of the collector to filter on
This command is provided by the python-cloudkittyclient plugin.
List stored dataframes or generate CSV reports.
Dataframes can be filtered on resource_type and project_id. CSV reports can be generated with the ‘df-to-csv’ formatter. A config file may be provided to configure the output of that formatter. See documentation for more details.
cloudkitty dataframes get
[-h]
[--sort-ascending | --sort-descending]
[-b BEGIN]
[-e END]
[-p TENANT_ID]
[-r RESOURCE_TYPE]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Begin timestamp
End timestamp
Id of the tenant to filter on
Resource type to filter on
This command is provided by the python-cloudkittyclient plugin.
Create a hashmap field.
cloudkitty hashmap field create
[-h]
[--sort-ascending | --sort-descending]
service_id
name
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID
Field name
This command is provided by the python-cloudkittyclient plugin.
Delete a hashmap field.
cloudkitty hashmap field delete [-h] field_id
show this help message and exit
Field ID
This command is provided by the python-cloudkittyclient plugin.
Get a Hashmap field.
cloudkitty hashmap field get
[-h]
[--sort-ascending | --sort-descending]
field_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Field ID
This command is provided by the python-cloudkittyclient plugin.
List hashmap fields for the given service.
cloudkitty hashmap field list
[-h]
[--sort-ascending | --sort-descending]
service_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID
This command is provided by the python-cloudkittyclient plugin.
Create a Hashmap group.
cloudkitty hashmap group create
[-h]
[--sort-ascending | --sort-descending]
name
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Group Name
This command is provided by the python-cloudkittyclient plugin.
Create a Hashmap group.
cloudkitty hashmap group delete [-h] [--recursive] group_id
show this help message and exit
Delete mappings recursively
Group ID
This command is provided by the python-cloudkittyclient plugin.
List existing hashmap groups.
cloudkitty hashmap group list
[-h]
[--sort-ascending | --sort-descending]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-cloudkittyclient plugin.
Get all Hashmap mappings for the given group.
cloudkitty hashmap group mappings get
[-h]
[--sort-ascending | --sort-descending]
group_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Group ID
This command is provided by the python-cloudkittyclient plugin.
Get all thresholds for the given group.
cloudkitty hashmap group thresholds get
[-h]
[--sort-ascending | --sort-descending]
group_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Group ID
This command is provided by the python-cloudkittyclient plugin.
Create a Hashmap mapping.
cloudkitty hashmap mapping create
[-h]
[--sort-ascending | --sort-descending]
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[-t TYPE]
[--value VALUE]
cost
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID
Group ID
Field ID
Project ID
Mapping type
Value
Cost
This command is provided by the python-cloudkittyclient plugin.
Delete a Hashmap mapping.
cloudkitty hashmap mapping delete [-h] mapping_id
show this help message and exit
Mapping ID
This command is provided by the python-cloudkittyclient plugin.
Get a hashmap mapping.
cloudkitty hashmap mapping get
[-h]
[--sort-ascending | --sort-descending]
mapping_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Mapping ID to filter on
This command is provided by the python-cloudkittyclient plugin.
List hashmap mappings.
cloudkitty hashmap mapping list
[-h]
[--sort-ascending | --sort-descending]
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[--filter-tenant]
[--no-group]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID to filter on
Group ID to filter on
Field ID to filter on
Project ID to filter on
Explicitly filter on given tenant (allows to filter on tenant being None)
Filter on orphaned mappings
This command is provided by the python-cloudkittyclient plugin.
Update a Hashmap mapping.
cloudkitty hashmap mapping update
[-h]
[--sort-ascending | --sort-descending]
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[--value VALUE]
[--cost COST]
mapping_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID
Group ID
Field ID
Project ID
Value
Cost
Mapping ID
This command is provided by the python-cloudkittyclient plugin.
Get hashmap mapping types/
cloudkitty hashmap mapping-types list
[-h]
[--sort-ascending | --sort-descending]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-cloudkittyclient plugin.
Create a hashmap service.
cloudkitty hashmap service create
[-h]
[--sort-ascending | --sort-descending]
name
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service Name
This command is provided by the python-cloudkittyclient plugin.
Delete a hashmap service
cloudkitty hashmap service delete [-h] service_id
show this help message and exit
Service ID
This command is provided by the python-cloudkittyclient plugin.
Get a hashmap service
cloudkitty hashmap service get
[-h]
[--sort-ascending | --sort-descending]
service_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID
This command is provided by the python-cloudkittyclient plugin.
List hashmap services.
cloudkitty hashmap service list
[-h]
[--sort-ascending | --sort-descending]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-cloudkittyclient plugin.
Create a Hashmap threshold.
cloudkitty hashmap threshold create
[-h]
[--sort-ascending | --sort-descending]
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[-t TYPE]
level
cost
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID
Group ID
Field ID
Project ID
Threshold type
Threshold level
Cost
This command is provided by the python-cloudkittyclient plugin.
Delete a Hashmap threshold.
cloudkitty hashmap threshold delete [-h] threshold_id
show this help message and exit
Threshold ID
This command is provided by the python-cloudkittyclient plugin.
Get a Hashmap threshold.
cloudkitty hashmap threshold get
[-h]
[--sort-ascending | --sort-descending]
threshold_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Threshold ID to filter on
This command is provided by the python-cloudkittyclient plugin.
List Hashmap thresholds
cloudkitty hashmap threshold list
[-h]
[--sort-ascending | --sort-descending]
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[--filter-tenant]
[--no-group]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID to filter on
Group ID to filter on
Field ID to filter on
Project ID to filter on
Explicitly filter on given tenant (allows to filter on tenant being None)
Filter on orphaned thresholds
This command is provided by the python-cloudkittyclient plugin.
Update a Hashmap threshold.
cloudkitty hashmap threshold update
[-h]
[--sort-ascending | --sort-descending]
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[-l LEVEL]
[--cost COST]
threshold_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Service ID
Group ID
Field ID
Project ID
Threshold level
Cost
Threshold ID
This command is provided by the python-cloudkittyclient plugin.
Get information about the current configuration.
cloudkitty info config get [-h] [--sort-ascending | --sort-descending]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-cloudkittyclient plugin.
Get information about current metrics.
cloudkitty info metric get
[-h]
[--sort-ascending | --sort-descending]
metric_name
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Metric name
This command is provided by the python-cloudkittyclient plugin.
Get information about a single metric.
cloudkitty info metric list [-h] [--sort-ascending | --sort-descending]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-cloudkittyclient plugin.
Disable a rating module.
cloudkitty module disable
[-h]
[--sort-ascending | --sort-descending]
module_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Module name
This command is provided by the python-cloudkittyclient plugin.
Enable a rating module.
cloudkitty module enable
[-h]
[--sort-ascending | --sort-descending]
module_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Module name
This command is provided by the python-cloudkittyclient plugin.
Get a rating module or list loaded rating modules.
If module_id is not specified, returns a list of all loaded rating modules.
cloudkitty module get
[-h]
[--sort-ascending | --sort-descending]
module_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Module name
This command is provided by the python-cloudkittyclient plugin.
List loaded rating modules.
cloudkitty module list [-h] [--sort-ascending | --sort-descending]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-cloudkittyclient plugin.
Set the priority of a rating module.
cloudkitty module set priority
[-h]
[--sort-ascending | --sort-descending]
module_id
priority
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Module name
Priority (int)
This command is provided by the python-cloudkittyclient plugin.
Create a PyScript.
cloudkitty pyscript create
[-h]
[--sort-ascending | --sort-descending]
name
data
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Script Name
Script Data or data file
This command is provided by the python-cloudkittyclient plugin.
Delete a PyScript.
cloudkitty pyscript delete [-h] script_id
show this help message and exit
Script ID
This command is provided by the python-cloudkittyclient plugin.
Get a PyScript.
cloudkitty pyscript get
[-h]
[--sort-ascending | --sort-descending]
script_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Script ID
This command is provided by the python-cloudkittyclient plugin.
List existing PyScripts.
cloudkitty pyscript list
[-h]
[--sort-ascending | --sort-descending]
[-n]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Set to true to remove script data from output
This command is provided by the python-cloudkittyclient plugin.
Update a PyScript.
cloudkitty pyscript update
[-h]
[--sort-ascending | --sort-descending]
[-n NAME]
[-d DATA]
script_id
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Script Name
Script Data or data file
Script ID
This command is provided by the python-cloudkittyclient plugin.
Get rated tenants for the given period.
Begin defaults to the beginning of the current month and end defaults to the beginning of the next month.
cloudkitty report tenant list
[-h]
[--sort-ascending | --sort-descending]
[-b BEGIN]
[-e END]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Begin timestamp.
End timestamp.
This command is provided by the python-cloudkittyclient plugin.
Get a summary report.
cloudkitty summary get
[-h]
[--sort-ascending | --sort-descending]
[-t TENANT_ID]
[-b BEGIN]
[-e END]
[-s SERVICE]
[-g GROUPBY [GROUPBY ...]]
[-a]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Tenant id.
Begin timestamp.
End timestamp.
Service Type.
Fields to group by, space-separated. (res_type and tenant_id are supported for now)
Allows to get summary from all tenants (admin only). Defaults to False.
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Get total reports.
cloudkitty total get
[-h]
[--prefix PREFIX]
[-t TENANT_ID]
[-b BEGIN]
[-e END]
[-s SERVICE]
[-g GROUPBY [GROUPBY ...]]
[-a]
show this help message and exit
add a prefix to all variable names
Tenant id.
Begin timestamp.
End timestamp.
Service Type.
Fields to group by, space-separated. (res_type and tenant_id are supported for now)
Allows to get summary from all tenants (admin only). Defaults to False.
This command is provided by the python-cloudkittyclient plugin.
Add one or several DataFrame objects to the storage backend.
cloudkitty dataframes add [-h] datafile
show this help message and exit
File formatted as a JSON object having a DataFrame listunder a ‘dataframes’ key.’-’ (hyphen) can be specified for using stdin.
This command is provided by the python-cloudkittyclient plugin.
Get information about current state of several scopes.
cloudkitty scope state get
[-h]
[--sort-ascending | --sort-descending]
[--scope-id SCOPE_ID]
[--scope-key SCOPE_KEY]
[--collector COLLECTOR]
[--fetcher FETCHER]
[--offset OFFSET]
[--limit LIMIT]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Optional filter on Scope ID
Optional filter on Scope Key
Optional filter on Collector
Optional filter on Fetcher
Index of the first scope
Maximal number of scopes
This command is provided by the python-cloudkittyclient plugin.
Get a summary for a given period.
cloudkitty summary get
[-h]
[--sort-ascending | --sort-descending]
[--offset OFFSET]
[--limit LIMIT]
[-g GROUPBY]
[--filter FILTER]
[-b BEGIN]
[-e END]
show this help message and exit
sort the column(s) in ascending order
sort the column(s) in descending order
Index of the first element
Maximal number of elements
Attribute to group the summary by. Can be specified several times
Optional filter, in ‘key:value’ format. Can be specified several times.
Start of the period to query, in iso8601 format. Example: 2019-05-01T00:00:00Z.
End of the period to query, in iso8601 format. Example: 2019-06-01T00:00:00Z.
This command is provided by the python-cloudkittyclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.