Skip to content

[BUG] Set service.name to reflect the name of the agents #1255

@krisztianfekete

Description

@krisztianfekete

📋 Prerequisites

  • I have searched the existing issues to avoid creating a duplicate
  • By submitting this issue, you agree to follow our Code of Conduct
  • I am using the latest version of the software
  • I have tried to clear cache/cookies or used incognito mode (if ui-related)
  • I can consistently reproduce this issue

🎯 Affected Service(s)

Multiple services / System-wide issue

🚦 Impact/Severity

Minor inconvenience

🐛 Bug Description

Currently we hardcode kagent in the OpenTelemetry service.name resource attribute.

🔄 Steps To Reproduce

  1. Deploy kagent w/ traces enabled
  2. Check traces

🤔 Expected Behavior

We should have the actual name of the agent in service.name, so we follow OTel conventions and are easier to integrate with.

📱 Actual Behavior

Currently we hardcode kagent in the OpenTelemetry service.name resource attribute.

💻 Environment

N/A

🔧 CLI Bug Report

N/A

🔍 Additional Context

No response

📋 Logs

📷 Screenshots

No response

🙋 Are you willing to contribute?

  • I am willing to submit a PR to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions