can I get Number of currently connected hosts to each activegate in a dashboard ?
Hello @shrrknt
- Within Data Explorer and Metrics, there is no dedicated metric for the highlighted request.
- You can deep dive into built-in-metrics.
- If you didn’t reach a possible solution, raise it as Dynatrace Product Ideas
Hoping this adds value.
BR,
Peter.
Unfortunately not quite what you’re after but you can graph the number of agent modules connected to an Activegate using dsfm:active_gate.communication.agent_modules.connected. This will give you some idea of the distribution of agent to Activegate connections.
Not sure if you can access it with DQL.
In metrics, I don’t know of a way to get hosts, but there is another particularly interesting metric: dsfm:active_gate.communication.agent_modules.connected
Some of the benefits I see in getting the number of modules connected:
- OneAgent is really not one connection to an AG, but a series of them
- In fact, one host with OneAgent might be communicating with several AGs at the same time.
- You can split by AG, but also group,network_zone and working_mode.

