Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discrepancies in metrics between rsconnect::showMetrics() and Shinyapps.io #1136

Open
AlejandroAyllon opened this issue Feb 3, 2025 · 0 comments

Comments

@AlejandroAyllon
Copy link

Hi,

I'm trying to retrieve metrics from my apps using rsconnect::showMetrics(), but I'm noticing discrepancies between the results and those displayed in the "Metrics" section on the Shinyapps.io web interface.

For example, when I filter by "1 week," Shinyapps shows 12-15 connections on January 29 (image 1), but when I filter by "1 month," it shows only 6-7 connections on the same date (image 2). Why is there this discrepancy?

Image Image

Additionally, when I try to retrieve this metric by minute (to be more precise)

rsconnect::showMetrics(
  metricSeries = "container_status",
  metricNames = "connect_count",
  appName = "myApp",
  from = "2025-01-29",
  until = "2025-01-30",
  interval = "1m"
)

I get 1, 61, 109, 127, and 129 connections at certain hours.

Image

Maybe I'm missing somethings?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant