- First login to your Datadog account.
- Go to the Event Stream.
From the Event Stream, you can see that your environment has started and that data is being reported. You should see that five Datadog Agents have started: host01, host02, host03, host04, and host05.
- Now go to the Metrics Summary page.
The Metrics Summary page shows all the metrics being collected in your environment. You should see about 160 metrics.
- Go to the Metrics Explorer and type
haproxyin the graph textbox.
Filtering by haproxy will show all the metrics collected by the HAProxy integration. Notice that the dropdown has filtered the available metrics to show just the ones with haproxy in the name. Also, note that haproxy is the fourth machine to start in the environment. If you don't see the metrics, you might need to wait a couple minutes for your training environment to launch completely.
- Continue typing
br2and then press enter.
We want the haproxy.backend.response.2xx metric. We don't have to scroll or type the whole name when in the Metrics Explorer. Fuzzy searching works here and the right metric is selected. (This trick doesn't work in the Metrics Summary).
- Click in the textbox for Over.
Almost all of these are all the tags that have been assigned to these metrics. You could look in the setup files for your training environment and see that only the role:lb tag has been manually assigned. Datadog recognizes various configuration choices and automatically turns them into tags.
- Choose host in the One graph per: dropdown.
We only have a single HAProxy host so this isn't very exciting.
- Remove the HAProxy metric and try typing
anhin the Graph: textbox.
It's another fuzzy search, this time selecting apache.net.hits.
- Now choose host in the One graph per: textbox.
You should see 3 graphs shown.