Complete monitoring stack for ShinyProxy on Kubernetes

[This article was first published on Open Analytics, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.


For some time now, ShinyProxy is able to export metrics using Prometheus. After releasing this feature, we provided a dashboard for Grafana to visualize these metrics. Although this provides a good basis to build a monitoring setup around ShinyProxy, it does not provide insights in logs or resource usage of individual apps. To fill this gap, we are publishing a GitHub repository containing a comprehensive monitoring set up for ShinyProxy on Kubernetes. The repository contains all Kubernetes manifests required to set up and integrate Prometheus, Loki and Grafana.


The stack allows you to view

  • the ShinyProxy usage (both real-time and aggregated over a long period),
  • the resources (CPU, memory …) used by apps and
  • the logs of
    • ShinyProxy,
    • the ShinyProxy Operator and
    • the apps hosted by ShinyProxy.

We fine-tuned the six Grafana dashboards to be fast, even if retrieving data for a long period and a large amount of apps.

Check out the repository for the complete explanation. We are looking forward to any feedback on the issue tracker of the repository. Have fun!

To leave a comment for the author, please follow the link and comment on their blog: Open Analytics. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)