mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-03 19:57:35 +00:00
chore: remove extra logging
# What does this PR do? ## Test Plan
This commit is contained in:
parent
4487b88ffe
commit
7004ac27b5
1 changed files with 0 additions and 4 deletions
|
@ -224,10 +224,6 @@ class TelemetryAdapter(TelemetryDatasetMixin, Telemetry):
|
||||||
return _GLOBAL_STORAGE["gauges"][name]
|
return _GLOBAL_STORAGE["gauges"][name]
|
||||||
|
|
||||||
def _log_metric(self, event: MetricEvent) -> None:
|
def _log_metric(self, event: MetricEvent) -> None:
|
||||||
# Always log to console if console sink is enabled (debug)
|
|
||||||
if TelemetrySink.CONSOLE in self.config.sinks:
|
|
||||||
logger.debug(f"METRIC: {event.metric}={event.value} {event.unit} {event.attributes}")
|
|
||||||
|
|
||||||
# Add metric as an event to the current span
|
# Add metric as an event to the current span
|
||||||
try:
|
try:
|
||||||
with self._lock:
|
with self._lock:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue