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> Email address for authenticated user. Ignored if --application-token is provided. Can
be set via SFP_SERVER_USER env var.
-t, --application-token=<value> Application token for CI/CD authentication. Can be set via SFP_SERVER_TOKEN env var
(CLI flags take precedence over env vars).
--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` for GitHub/GitLab or `org/project/repo`
for Azure DevOps
--sfp-server-url=<value> URL of the SFP server. Can be set via SFP_SERVER_URL env var 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?