Grafana: 7. Keep your service up to date
This documentation is part of the Full CLI Automation Workflow guide. You can view the complete guide here: Start Grafana, retrieve its credentials, and modify its configuration programmatically using the Stackhero CLI.
👋 Welcome to the Stackhero documentation!
Stackhero provides you with a ready-to-use Grafana cloud environment, designed for rapid deployment and reliable performance:
- Unlimited users, dashboards, and alerts: scale your monitoring as required, with no artificial restrictions.
- A dedicated SMTP email server is included, allowing you to send as many notifications as you need, with no quotas to monitor.
- One-click plugin installation makes it easy to add new features to Grafana.
- Built-in SSO support for
GitLab,GitHub,OAuth2provider. User management remains straightforward and secure.- One-click updates ensure your Grafana instance stays up to date, with no downtime or maintenance headaches.
- Use your own custom domain with automated HTTPS provisioning for secure, branded access (for example, https://grafana.your-company.com).
- High performance and enhanced security come as standard, running on your own private, dedicated infrastructure.
Get started more quickly and save time on setup: a secure Grafana cloud hosting instance is ready in around 5 minutes.
When a new version of Grafana is available, you can view and install it from the command line as well:
# Show the current version, available updates, and their severity
stackhero service-updates-list --service=svc-xxxxxx
# Install the next update (a backup is taken first), then wait for the service to be operational again
stackhero service-update --service=svc-xxxxxx --confirm
stackhero service-wait-for --service=svc-xxxxxx
That is the complete process. You have now seen the full lifecycle: start a service, retrieve its credentials, reconfigure it, and keep it up to date, all in a scriptable, automated manner. To learn more, refer to the full CLI documentation, which also covers the non-interactive STACKHERO_TOKEN authentication shown here. To run your tests against a real Grafana in GitHub Actions or GitLab CI, see Start services for your CI tests.