crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

adding agent name feature to help monitor traces in LLMOps tools

Open saibhaskerraju opened this issue 1 year ago • 4 comments

Hello,

I have been using various LLM monitoring tools and I noticed that the Trace Name appears as "CrewAgentExecutor" by default in monitoring tools

below image for reference image

It can be helpful for developers if we add a name to the Agent so that the traces have these names Below image for reference

image

This helps in filtering and easy monitoring of traces in any LLMOps tool.

saibhaskerraju avatar Apr 23 '24 00:04 saibhaskerraju

I can see how useful this would be, can we force the name to be the role value though?

joaomdmoura avatar May 02 '24 06:05 joaomdmoura

you are correct @joaomdmoura , I didnt notice that param earlier. thanks.

I changed the code. please review

saibhaskerraju avatar May 02 '24 20:05 saibhaskerraju

Nice improvement! Would you mind adding a test (or a few) for that?

gvieira avatar Jun 06 '24 23:06 gvieira

This PR is stale because it has been open for 45 days with no activity.

github-actions[bot] avatar Aug 17 '24 12:08 github-actions[bot]