Skip to content

caeops > metrics-analyzer

create

Description


This command helps to crate a metrics analyzer. Run caeops metrics-analyzers create --help for more help.

Synopsis


  create
--name [value]
--data-sources [value]

Options


--name (string)

Name of the analyzer

--data-sources (string)

Name of metrics service for which you want to create a metrics analyzer

Examples


To create a metrics analyzer.

The following metrics-analyzers create example creates a metrics analyzer.

caeops metrics-analyzers create --data-sources=[{metrics=example1}] --name=examplename

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
Back to top