Skip to content

Grafana

Information

Grafana is real-time data visualization and monitoring software. It can be used to display system monitoring metrics, IoT data, and log events. It supports many sources of data, including databases (e.g. MySQL, PostgreSQL), cloud provider's services (e.g. AWS, Google Cloud), and monitoring systems (e.g. Prometheus). Grafana provides a flexible dashboard configuration for creating personalized interfaces and also has a wide range of plugins and integrations with other tools.

Grafana. Key Features

  • Data visualization: Grafana provides a wide range of graphs, charts, and other visual elements for displaying data.
  • Interactivity: Grafana has the ability to interactively navigate through data, change time ranges, and filter information.
  • Support for various data sources: Grafana supports many databases, monitoring services, and protocols such as Prometheus, InfluxDB, Graphite, Elasticsearch, and others.
  • Management of access rights: Grafana allows you to configure the access rights of users and groups to specific data or visualizations.
  • Create alerts: Grafana allows you to create alerts based on certain conditions, which can be sent to email, Slack, or other communication channels.
  • Extension and plugin support: Grafana can be extended with plugins to connect to new data sources, add new types of visualizations, or integrate with other services.
  • API: Grafana provides API to automate dashboard creation, manage access rights, and obtain data.

Features of the assembly

  • Installation on RHEL 8+ and Ubuntu 20.04+ families is possible.
  • Installation time is 15-20 minutes, including OS.
  • Containerized installation of Grafana + SSL in the hostkey.in zone.
  • Installed software:
    • Docker CE;
    • Docker Compose.
  • Used containers:
    • grafana/grafana-oss:8.2.6;
    • jonasal/nginx-certbot:latest.
  • Path to compose: /root/grafana
  • Path to mounted directories: /data

To customize the installation, you need to make changes in /root/grafana/compose.yml. Then restart compose via commands:

docker compose down -f /root/grafana/compose.yml && docker compose up -f /root/grafana/compose.yml -d
The web interface will be available at the URL: https://grafana{Server_ID_from_Invapi}.hostkey.in

Getting started after deploying Grafana

The service is managed in the Grafana dashboard with a web interface, the link to which is located in the Invapi:

You can find the authorization data either in the Info >> 'Tags tab of the server control panel or in the email that was sent.

  • Link: in the webpanel tag;
  • Login: admin;
  • Password: in a letter to your e-mail upon receipt of the server;

Note

For more information on the basic settings of Grafana, see documentation of the developers.

Ordering a server with Grafana using the API

curl -s "https://invapi.hostkey.com/eq.php" -X POST \
--data "action=order_instance" \
--data "token=" \
--data "deploy_period=" \
--data "deploy_notify=" \
--data "email=" \
--data "pin=" \
--data "id=" \
--data "os_id=" \
--data "root_pass=" \
--data "hostname=" \
--data "ssh_key=" \
--data "post_install_callback=" \
--data "post_install_script=" \
--data "reinstall_key=" \
--data "os_name=" \
--data "imitate_deploy=" \
--data "imitate_error=0" \
--data "own_os=" \
--data "jenkins_task=" \
--data "traffic_plan=" \
--data "invoice_relid=" \
--data "preset=" \
--data "location_name=" \