chore(telemetry): remove service_name entirely (#1755)

# What does this PR do?


## Test Plan

LLAMA_STACK_CONFIG=dev pytest -s -v
tests/integration/agents/test_agents.py::test_custom_tool
--safety-shield meta-llama/Llama-Guard-3-8B --text-model
accounts/fireworks/models/llama-v3p1-8b-instruct

and verify trace in jaeger UI
https://llama-stack.readthedocs.io/en/latest/building_applications/telemetry.html#
This commit is contained in:
ehhuang 2025-03-21 15:11:56 -07:00 committed by GitHub
parent baf68c665c
commit b9fbfed216
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 2 additions and 38 deletions

View file

@ -77,7 +77,8 @@ class TelemetryAdapter(TelemetryDatasetMixin, Telemetry):
resource = Resource.create(
{
ResourceAttributes.SERVICE_NAME: self.config.service_name,
# service name is always the same, use zero-width space to avoid clutter
ResourceAttributes.SERVICE_NAME: "",
}
)