caeops > metrics-analyzer
update¶
Description¶
This command helps to update metrics analyzer's data sources.
Run caeops metrics-analyzers update --help for more help.
Synopsis¶
  update
--name [value]
--data-sources [value]
Options¶
--name (string)
Name of the analyzer
--data-sources (string)
Name of resource for which you want to update metrics analyzer
Examples¶
To update data sources of a metrics analyzer.
The following metrics-analyzers update example updates data sources of a metrics analyzer.
caeops metrics-analyzers update --name=examplename --data-sources=[{metrics=example1},{metrics=example2}]
Output¶
metrics analyzer details -> (structure)
- serviceName -> (string)
 Name of the metrics analyzer
- serviceType -> (string)
 Type of the resource (e.g metrics-analyzer)
- groupName -> (string)
 Name of the service group to which the Metrics analyzer is added
- dataSources -> (structure)
 List of the data sources and their type(e.g {"metrics":"example"})
- createdAt -> (long)
 Creation timestamp
- updatedAt -> (long)
 Last modified timestamp