cookbook: add MLflow observability integration via OpenInference#6930
Open
cookbook: add MLflow observability integration via OpenInference#6930
Conversation
Add cookbook example showing how to instrument Agno agents with OpenInference and send traces to MLflow via OTLP. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
kausmeows
reviewed
Mar 10, 2026
Contributor
kausmeows
left a comment
There was a problem hiding this comment.
also this- agno-agi/docs#330 (comment)
the user had a different type of cookbook, so we might want to add that one as well.
| Demonstrates instrumenting an Agno agent with OpenInference and sending traces to MLflow. | ||
|
|
||
| Requirements: | ||
| pip install mlflow opentelemetry-exporter-otlp-proto-http openinference-instrumentation-agno |
Contributor
There was a problem hiding this comment.
Suggested change
| pip install mlflow opentelemetry-exporter-otlp-proto-http openinference-instrumentation-agno | |
| pip install -U mlflow opentelemetry-exporter-otlp-proto-http openinference-instrumentation-agno |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a cookbook example showing how to instrument Agno agents with OpenInference and send traces to an MLflow Tracking Server via OTLP.
Follows the same pattern as existing observability integrations (Langfuse, LangSmith, Opik, etc.) using
OTLPSpanExporterpointed at MLflow's/api/2.0/mlflow/tracesendpoint.Type of change
Checklist
./scripts/format.shand./scripts/validate.sh)Additional Notes
Files added/changed:
cookbook/92_integrations/observability/mlflow_via_openinference.py— new cookbookcookbook/92_integrations/observability/README.md— added to integrations listUsage:
Dependencies:
mlflow,opentelemetry-exporter-otlp-proto-http,openinference-instrumentation-agno🤖 Generated with Claude Code