Grafana
Deploy Gafana to query, visualize, alert on, and understand your data no matter where it’s stored
Overview
Grafana is a data monitoring and observability platform that allows you to collect and understand data from tools used throughout your organization. Grafana makes it easy to query data from many different sources, build graphs and dashboards to track changes in metrics, import and analyze logs, and send alerts when customizable thresholds are passed. With a large ecosystem of plugins and complementary systems, Grafana can be extended to work with whatever data is most important to you.
Requirements
- A PostgreSQL connection string. You can start up a PostgreSQL database on Koyeb using Koyeb Database Services.
Configuration
When deploying Grafana on Koyeb, the following environment variables will be provided. Take care to set the required variables with the appropriate values if not set.
Variable | Description | Required | Default value |
---|---|---|---|
GF_SERVER_HTTP_PORT | The port that Grafana runs on. | Yes | 8000 |
GF_DATABASE_TYPE | The type of database used. | Yes | postgres |
GF_DATABASE_URL | The connection string for your PostgreSQL database. | Yes | |
GF_DATABASE_SSL_MODE | The SSL configuration for connecting to the database. | Yes | require |
GF_INSTALL_PLUGINS | A comma-separated list of Grafana plugins to add. | No | grafana-github-datasource |
Be sure to set GF_INSTALL_PLUGINS
to the list of plugins you want to enable. You can find out more by checking out the plugin library and viewing the documentation on specifying plugins.
The username and password are both set to admin
initially.