How to change an agent name

So, I've been looking for a way to change the Java agent name. Silly thing but still would help a lot in situations like "group by agent.name". While is not on topic it would be awsome to see how this is made with Django - Python agent as well.

Best regards!
Captura de Tela (280)

I don't think it's a settable value. Afaict it's hardcoded here.

1 Like

I see...In any case thanks for reaching out.

Just that info saves alot of time :sweat_smile:

Maybe you can achieve what you need through global_labels, which are available in the python agent as well.

2 Likes

@SamuelSMendes or beside Eyals probably better solution (global_labels) ... You can create a runtime field agent.friendly_name or something with some If / Else logic to set the values assuming you have some tag / data that you can use.

1 Like

Thanks for sharing the thoughts @Eyal_Koren and @stephenb. I'll look into it and once I have it all tested I'll be back with the outcome on the topic.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.