Skip to content

Commit

Permalink
feat(python): follow telemetry best practice
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisBRENON committed Jun 28, 2024
1 parent b792ceb commit 20c6c6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/src/greenbids/tailor/core/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
)
tracer_provider = trace.TracerProvider()
tracer_provider.add_span_processor(BatchSpanProcessor(OTLPSpanExporter()))

meter = meter_provider.get_meter("greenbids.tailor")
tracer = tracer_provider.get_tracer("greenbids.tailor")

0 comments on commit 20c6c6a

Please sign in to comment.