Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

2.8 KB
Raw Blame
{
  "version": 3,
  "definition": {
    "name": "gen_ai.agent",
    "condition": {
      "attributes": [
        {
          "value": "agent"
        }
      ],
      "resource": []
    },
    "enabled": true,
    "mappers": [
      {
        "name": "gen_ai.agent.name",
        "fieldContext": "attribute",
        "config": {
          "sources": [
            {
              "key": "crewai.agent.role",
              "context": "attribute",
              "operation": "copy",
              "priority": 30
            },
            {
              "key": "agent.name",
              "context": "attribute",
              "operation": "copy",
              "priority": 20
            },
            {
              "key": "agent_name",
              "context": "attribute",
              "operation": "copy",
              "priority": 10
            }
          ]
        }
      },
      {
        "name": "gen_ai.agent.id",
        "fieldContext": "attribute",
        "config": {
          "sources": [
            {
              "key": "agent_id",
              "context": "attribute",
              "operation": "copy",
              "priority": 30
            },
            {
              "key": "crewai.agent.id",
              "context": "attribute",
              "operation": "copy",
              "priority": 20
            },
            {
              "key": "agent.id",
              "context": "attribute",
              "operation": "copy",
              "priority": 10
            }
          ]
        }
      },
      {
        "name": "gen_ai.agent.description",
        "fieldContext": "attribute",
        "config": {
          "sources": [
            {
              "key": "agent.description",
              "context": "attribute",
              "operation": "copy",
              "priority": 10
            }
          ]
        }
      },
      {
        "name": "gen_ai.output.messages",
        "fieldContext": "attribute",
        "config": {
          "sources": [
            {
              "key": "final_result",
              "context": "attribute",
              "operation": "move",
              "priority": 10
            }
          ]
        }
      },
      {
        "name": "gen_ai.operation.name",
        "fieldContext": "attribute",
        "config": {
          "sources": [
            {
              "key": "openinference.span.kind",
              "context": "attribute",
              "operation": "copy",
              "priority": 30
            },
            {
              "key": "llm.request.type",
              "context": "attribute",
              "operation": "copy",
              "priority": 20
            },
            {
              "key": "traceloop.span.kind",
              "context": "attribute",
              "operation": "copy",
              "priority": 10
            }
          ]
        }
      }
    ]
  }
}