Following steps for the configuration of telemetry streaming consumer target using CLI of F5 BIG-IP device are discussed below:
Once you have accessed your F5 BIG-IP device CLI terminal then access either your default admin credentials or the new user you’ve recently created on the above section. Then execute the following commands on the terminal:
On the username and password section, you either enter your default admin credentials or the new user you’ve recently created has the administrator privilege.
Once the telemetry streaming service has been successfully configured and the metrics are available on the path. We need to configure Prometheus in order to scrape the metrics data on the predefined path. The following are the steps to configure the Prometheus:
Note: On this user-guide demonstration, both Grafana and Prometheus are installed on the same host with different service ports as mentioned earlier. CentOS 7 is used as the OS for this host machine and you may have different syntax to view the following status check.
First, check the status of the Prometheus
sudo systemctl status prometheus.service
View the current working directory and change into /etc/prometheus
- Click on the Status option and select the Target option
Section IV: Configuration on Grafana using Prometheus as a data source
In this section, we need to connect Prometheus as a data source on Grafana
Once the data source has been successfully configured on Grafna then Create a new dashboard and select Prometheus as the data source then select the relevant metrics and change the refresh interval as required. Save and apply the panel. Then, Save the dashboard and view the metrics on the Grafana dashboard.
The possible issue that can arise during the configuration
If you use the default TS declare from the official telemetry streaming document website then you may fail to view the available metrics on the mentioned link: