Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: elastic/elastic-otel-python-instrumentations
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: openai-v1.0.0
Choose a base ref
...
head repository: elastic/elastic-otel-python-instrumentations
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: openai-v1.1.0
Choose a head ref
  • 5 commits
  • 9 files changed
  • 4 contributors

Commits on Apr 11, 2025

  1. Add gen_ai.request.choice.count to openai instrumentation (#75)

    * Add gen_ai.request.choice.count to openai instrumentation
    
    * Add CHANGELOG entry
    
    * Fix formatting
    
    * CHANGELOG is updated when there's a release, remove CHANGELOG entry
    
    * Only set choice count if n != 1
    
    * Update instrumentation/elastic-opentelemetry-instrumentation-openai/tests/test_chat_completions.py
    
    Co-authored-by: Riccardo Magliocchetti <[email protected]>
    
    ---------
    
    Co-authored-by: Riccardo Magliocchetti <[email protected]>
    estolfo and xrmx authored Apr 11, 2025
    Configuration menu
    Copy the full SHA
    9e9314d View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2025

  1. openai: Use "gen_ai.request.seed" instead of deprecated "gen_ai.opena…

    …i.request.seed" attribute. (#76)
    SrdjanLL authored Apr 14, 2025
    Configuration menu
    Copy the full SHA
    6030284 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2025

  1. openai: Use semconv-1.31.0 (#77)

    * Use "gen_ai.output.type" instead of deprecated "gen_ai.openai.request.response_format" attribute.
    
    * Use json instead of json_schema and json_object for gen_ai.output.type attribute value
    
    * Bump schema version number
    SrdjanLL authored Apr 16, 2025
    Configuration menu
    Copy the full SHA
    4971007 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2025

  1. openai: Fix missing or double spans when completion stream is used wi…

    …th context manager (#80)
    
    * openai: Add conditional span closure logic depending on whether streamed completion uses context manager or not
    
    * openai: Add conditional span closure logic for async streaming completion
    
    * openai: Guard span ending based on the flag rather than the context manager
    SrdjanLL authored Apr 23, 2025
    Configuration menu
    Copy the full SHA
    bee16d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84a3f24 View commit details
    Browse the repository at this point in the history
Loading