> For the complete documentation index, see [llms.txt](https://docs.inspector.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inspector.dev/guides/laravel/group-by-service-name.md).

# Group by service name

Inspector segments metrics by hostnames. So as the number of underlying hosts increase it could create a bit of clutter in the charts.

It may be more clear to use a human friendly **service name** to represent all your servers inside the same logical group.

<figure><img src="/files/MTlewxkYjZda4qXZ7eYE" alt=""><figcaption></figcaption></figure>

We can use the Inspector library to programmatically change the hostname just before the transaction is sent out of your server and set the same for related instances. It will make your dashboard more clear and understandable.

<figure><img src="/files/Lpy7bRa6i7nkupnz58TA" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Read the step by step guide on our blog: <https://inspector.dev/how-to-monitor-your-laravel-application-by-services-not-by-hostnames/>
{% endhint %}
