Add gen_ai_latest_experimental to the Sem Conv stability flag. Add ContentCapturingMode enum#3716
Conversation
|
For some reason |
what are you getting on your end? Installing ruff==0.6.9 and running it in opentelemetry-util-genai it returns me: |
…n/_semconv.py Co-authored-by: Emídio Neto <[email protected]>
|
When I run tox -e ruff (from the root directory if that matters), it doesn't format the files in genai-utils when it clearly should |
…ls.py Co-authored-by: Riccardo Magliocchetti <[email protected]>
Co-authored-by: Aaron Abbott <[email protected]>
Co-authored-by: Aaron Abbott <[email protected]>
Co-authored-by: Aaron Abbott <[email protected]>
Co-authored-by: Aaron Abbott <[email protected]>
…python-contrib into gen_ai_flags
|
@DylanRussell can you add to the changelog? |
|
Ack added changelog |
See open-telemetry#3716, the changelog entry should have been in the sub-package specific one.
See open-telemetry#3716, the changelog entry should have been in the sub-package specific one.
…`ContentCapturingMode` enum (open-telemetry#3716) * initial commit * lint * Fix tests * Fix typecheck * Update opentelemetry-instrumentation/src/opentelemetry/instrumentation/_semconv.py Co-authored-by: Emídio Neto <[email protected]> * Update util/opentelemetry-util-genai/src/opentelemetry/util/genai/utils.py Co-authored-by: Riccardo Magliocchetti <[email protected]> * Use ValueError * Rename enum * Update util/opentelemetry-util-genai/tests/test_utils.py Co-authored-by: Aaron Abbott <[email protected]> * Update util/opentelemetry-util-genai/tests/test_utils.py Co-authored-by: Aaron Abbott <[email protected]> * Update util/opentelemetry-util-genai/tests/test_utils.py Co-authored-by: Aaron Abbott <[email protected]> * Update util/opentelemetry-util-genai/tests/test_utils.py Co-authored-by: Aaron Abbott <[email protected]> * Default env var to NO_CONTENT when invalid envvar * Address comments * Address comment * Fix typecheck * don't change typecheck, * Fix linter * Address comments * Fix order of args.. --------- Co-authored-by: Emídio Neto <[email protected]> Co-authored-by: Riccardo Magliocchetti <[email protected]> Co-authored-by: Aaron Abbott <[email protected]>
See open-telemetry#3716, the changelog entry should have been in the sub-package specific one.
Description
Add
gen_ai_latest_experimentalto the Sem Conv stability env var.Add
ContentCapturingModeenum which will get it's value from theOTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENTenv varType of change
Please delete options that are not relevant.
How Has This Been Tested?
Unit tests
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.