Skip to content

Conversation

sounak98
Copy link
Contributor

@sounak98 sounak98 commented Sep 2, 2025

  • Introduced StudioOTLPSpanExporter for exporting traces to Pharia Studio via OTLP.
  • Updated __init__.py to include StudioOTLPSpanExporter in the module exports.
  • Removed unused SimpleSpanProcessor from StudioExporter.
  • Added StudioSpanProcessor to handle span processing.
  • Enhanced DevCsi class with methods to configure OTLP exporting.

@sounak98 sounak98 marked this pull request as draft September 5, 2025 17:21
@sounak98
Copy link
Contributor Author

sounak98 commented Sep 5, 2025

this should be merged only after pharia-ai version 1.20251000.0 is released

see: https://matter.aleph-alpha.de/aleph-alpha/pl/o6pwapzbn7fwfctk1rgo8dug4y

@sounak98 sounak98 requested review from moldhouse and jhl-aa September 5, 2025 17:23
@sounak98 sounak98 marked this pull request as ready for review September 10, 2025 11:16
@moldhouse moldhouse force-pushed the studio-otel-tracing-2 branch 2 times, most recently from aacf044 to c3570f9 Compare September 23, 2025 09:52
sounak98 and others added 21 commits October 2, 2025 10:22
- Introduced StudioOTLPSpanExporter for exporting traces to Pharia Studio via OTLP.
- Updated __init__.py to include StudioOTLPSpanExporter in the module exports.
- Removed unused SimpleSpanProcessor from StudioExporter.
- Added StudioSpanProcessor to handle span processing.
- Enhanced DevCsi class with methods to configure OTLP exporting.
…xporter integration

- Removed the unused StudioOTLPSpanProcessor class from otlp_exporter.py.
- Updated DevCsi to only check for StudioSpanProcessor when setting span exporters.
- Enhanced existing_exporter method to return both StudioExporter and StudioOTLPSpanExporter types.
- Added comprehensive tests for StudioOTLPSpanExporter, including initialization and configuration validation.
- Introduced simple integration tests for OTLP exporter setup and functionality.
- Removed unused imports from otlp_exporter.py and tracing_test.py to streamline the codebase.
- This cleanup enhances readability and maintains focus on relevant dependencies.
most of their testing surface is covered by the one e2e test, and
they felt a bit too granular
testing the export and the tracing should be enough
since the trace export format is an implementation detail of our
stack, we do not need to offer both options to the user
@moldhouse moldhouse force-pushed the studio-otel-tracing-2 branch from d4d0127 to 6bffab7 Compare October 2, 2025 08:23
@moldhouse moldhouse force-pushed the studio-otel-tracing-2 branch from 14cd936 to 2584696 Compare October 2, 2025 14:24
@moldhouse moldhouse force-pushed the studio-otel-tracing-2 branch from 2584696 to c8e456a Compare October 2, 2025 14:27
@moldhouse moldhouse merged commit 5f12a63 into main Oct 2, 2025
9 checks passed
@moldhouse moldhouse deleted the studio-otel-tracing-2 branch October 2, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants