Grafana Ops Dashboards
Preparing the data source
-
Visit your Grafana instance.
-
Select ⚙️ Configuration from the left menu bar, and then select Data Sources.
-
Click the Add data source button.
-
Select Prometheus from the list of compatible data sources.
-
Enter the name
hdx-monitoring-prometheus
in the field. -
Enter
https://YOUR-HYDROLIX-HOSTNAME.hydrolix.live/prometheus
as the data source's URL.
Finally, click Save & Test. The message "Data source is working" should appear immediately, completing this setup.
If you do not see that success message, confirm that your provided URL is correct, and that your stack has at least one prometheus
service running. If you still have trouble getting Grafana to connect to Prometheus, please contact Hydrolix support.
Importing Monitoring Dashboard
Hydrolix has deployed built-in monitoring dashboard for our different services in Grafana community dashboard.
You can easily add those dashboards in your Grafana deployment:
-
Visit your stack's Grafana instance.
-
Select + Create from the left menu bar, and then select Import.
-
Specify Hydrolix Dashboard ID and click on Load
-
Hydrolix has several dashboards ID deployed:
- 16154 For HTTP Streaming Ingest Monitoring
- 14444 For Kafka Ingest Monitoring
- 17844 For Kinesis Ingest Monitoring
- 14442 For Table / Partitions Monitoring
- 17165 For an Overview of your Hydrolix logs
- 17166 For Query Performance Monitoring
- 17916 For Merge Monitoring
When you import the dashboard it'll requires to select the datasources you should use:
- hdx-monitoring-prometheus for prometheus
- hdx-monitoring-query for clickhouse (for Active Queries and table montoring).
Based on your deployment you may want specific dashboards or all of them.
Querying Grafana
After setting up Prometheus as a data source, you can query, graph, and monitor your Hydrolix metrics through all the tools and techniques Grafana makes available.
For a simple example, select 🧭 Explore from Grafana's left menu bar, and then enter a basic metric-query such as process_open_fds
into the text entry field. This results in a multi-line graph showing the open file descriptors in use by several of your stack's components.
To turn this static graph into a dynamic monitor, select 5s from the pull-down menu next to the Run query button. The graph then refreshes itself every five seconds.
For more information on using Grafana and Prometheus together, you may consult Prometheus's documentation on that topic.
Updated 2 months ago