Skip to content

Commit fa6b2a8

Browse files
committed
fix: proper event name
1 parent 5cae21d commit fa6b2a8

File tree

1 file changed

+1
-1
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-google-genai/src/opentelemetry/instrumentation/google_genai

1 file changed

+1
-1
lines changed

instrumentation-genai/opentelemetry-instrumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def _maybe_log_completion_details(
475475
input_messages, output_messages, system_instructions,
476476
)
477477
attributes.update(completion_details_attributes)
478-
event = Event(name="gen_ai.completion.details", attributes=attributes)
478+
event = Event(name="gen_ai.client.inference.operation.details", attributes=attributes)
479479
hook = load_upload_hook()
480480
hook.upload(
481481
inputs=input_messages,

0 commit comments

Comments
 (0)