Metrics
sfp metrics display
sfp metrics displayUSAGE
$ sfp metrics display [--json] [-c build|deploy|validate|release|prepare|all] [-d <value>] [--repository <value>]
[-e <value>] [-t <value>] [--sfp-server-url <value>] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-c, --category=<option> [default: all] Metric category to display
<options: build|deploy|validate|release|prepare|all>
-d, --days=<value> [default: 30] Number of days to query (default: 30)
-e, --email=<value> [env: SFP_SERVER_USER] Email address for authenticated user. Ignored if
--application-token is provided.
-t, --application-token=<value> [env: SFP_SERVER_TOKEN] Application token for CI/CD authentication. Takes precedence
over --email.
--loglevel=<option> [default: info] logging level for this command invocation
<options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
--repository=<value> The repository identifier. E.g `owner/repo`
--sfp-server-url=<value> [env: SFP_SERVER_URL] URL of the SFP server. Can be set via environment variable
`SFP_SERVER_URL` or config: sfp config:set server-url
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Display a summary of key metrics from the SFP server
EXAMPLES
$ sfp metrics:display
$ sfp metrics:display --category build
$ sfp metrics:display --category deploy --days 7
$ sfp metrics:display --category all --days 90sfp metrics query
sfp metrics querysfp metrics report
sfp metrics reportLast updated
Was this helpful?