Skip to content

Instantly share code, notes, and snippets.

@elijahbenizzy
Last active August 14, 2024 22:23
Show Gist options
  • Save elijahbenizzy/808849fba8e5c460501bd3a3c256633d to your computer and use it in GitHub Desktop.
Save elijahbenizzy/808849fba8e5c460501bd3a3c256633d to your computer and use it in GitHub Desktop.
from burr.integrations.opentelemetry import OpenTelemetryBridge
app = (
ApplicationBuilder()
.with_entrypoint("prompt")
.with_state(chat_history=[])
.with_actions(
...
)
.with_transitions(
...
)
.with_tracker(project="demo_opentel")
.with_hooks(OpenTelemetryBridge())
.build()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment