CLI Reference > Configuration Management Commands > si createmetricinfo
si createmetricinfo
creates a new metric to be measured
si createmetricinfo [--description=value] [--name=value][--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]]
si createmetricinfo creates a new metric to be measured.
You can use a third party tool to track metrics in addition to the standard metrics tracked by Windchill RV&S. Metrics tracked by a third party tool must be defined in Windchill RV&S and recorded for a specific project checkpoint. You define a metric by specifying a name and description for it using this command. Both --name and --description are mandatory.
You can run this command against an existing metric name to replace the description.
To define a metric you need the Metrics permission.
Metrics are only supported for database type repositories.
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
specifies a name for the metric being created
specifies a description for the metric being created
See the diagnostics reference page for possible exit status values.
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si viewmetricsinfo, si calculateprojectmetrics, si viewprojectmetrics, si addprojectmetric
Miscellaneous:diagnostics, options, preferences