mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
chore: remove extra logging (#3574)
# What does this PR do? This is already logged by console processor as INFO <img width="1093" height="280" alt="image" src="https://github.com/user-attachments/assets/780b0ac2-6744-49d7-b1d4-b7204050a6dc" /> ## Test Plan
This commit is contained in:
parent
0d94f3e2c0
commit
c392f3a0f4
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