showMetrics | R Documentation |
Show application metrics of a currently deployed application. This function only works for ShinyApps servers.
showMetrics(
metricSeries,
metricNames,
appDir = getwd(),
appName = NULL,
account = NULL,
server = "shinyapps.io",
from = NULL,
until = NULL,
interval = NULL
)
metricSeries |
Metric series to query. Refer to the shinyapps.io documentation for available series. |
metricNames |
Metric names in the series to query. Refer to the shinyapps.io documentation for available metrics. |
appDir |
A directory containing an application (e.g. a Shiny app or plumber API). Defaults to the current directory. |
appName |
Application name, a string consisting of letters, numbers,
If not specified, the first deployment will be automatically it from the
|
account , server |
Uniquely identify a remote server with either your
user Use |
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. (Relative time delta e.g. "120s" or "1h" or "30d"). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.