Skip to content

Commit

Permalink
rename metric
Browse files Browse the repository at this point in the history
  • Loading branch information
ncybul committed Jan 16, 2025
1 parent 22b5859 commit 7c037e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ddtrace/llmobs/_integrations/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def trace(self, pin: Pin, operation_id: str, submit_to_llmobs: bool = False, **k
span._set_ctx_item(PARENT_ID_KEY, str(parent_id))
telemetry_writer.add_count_metric(
namespace=TELEMETRY_APM_PRODUCT.LLMOBS,
name="span.creation",
name="span.start",
value=1,
tags=(
("integration", self._integration_name),
Expand Down
2 changes: 1 addition & 1 deletion ddtrace/llmobs/_llmobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def _start_span(
) -> Span:
telemetry_writer.add_count_metric(
namespace=TELEMETRY_APM_PRODUCT.LLMOBS,
name="span.creation",
name="span.start",
value=1,
tags=(
("autoinstrumented", "false"),
Expand Down

0 comments on commit 7c037e8

Please sign in to comment.