Learn R Programming

rsconnect (version 0.7)

showMetrics: Show Application Metrics

Description

Show application metrics of a currently deployed application

Usage

showMetrics(metricSeries, metricNames, appDir = getwd(), appName = NULL, account = NULL, server = NULL, from = NULL, until = NULL, interval = NULL)

Arguments

metricSeries
Metric series to query e.g. "container.cpu"
metricNames
Metric names in the series to query e.g. c("cpu.user", "cpu.system")
appDir
Directory containing application. Defaults to current working directory.
appName
Name of application
account
Account name. If a single account is registered on the system then this parameter can be omitted.
server
Server name. Required only if you use the same account name on multiple servers.
from
Date range starting timestamp (Unix timestamp or relative time delta such as "2d" or "3w").
until
Date range ending timestamp (Unix timestamp or relative time delta such as "2d" or "3w").
interval
Summarization interval. Data points at intervals less then this will be grouped. (Number of seconds or relative time delta e.g. "1h").