Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/observable tags #954

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

dylanholmes
Copy link
Contributor

@dylanholmes dylanholmes commented Jul 10, 2024

Changes:

  • Small fixes after rebasing the release/cloud-unreleased branch.
  • Add an optional list of tags to Observable.Call. This allows us to easily group spans.
  • Add tags as a span attribute in OpenTelemetryObservabilityDriver
  • Annotate prompt driver run with @observable(tags=["PromptDriver.run()"]).
  • Annotate prompt driver try_run and try_stream with @observable. These spans will be useful for debugging exceptions that occur during retries.
  • Annotate tool run @observable(tags=["Tool.run()"]).

Note: merging into release/cloud-unreleased rather than dev


📚 Documentation preview 📚: https://griptape--954.org.readthedocs.build//954/

@dylanholmes dylanholmes marked this pull request as ready for review July 10, 2024 16:07
@dylanholmes dylanholmes merged commit b322137 into release/cloud-unreleased Jul 10, 2024
2 checks passed
@dylanholmes dylanholmes deleted the feature/observable-tags branch July 10, 2024 17:14
dylanholmes added a commit that referenced this pull request Jul 16, 2024
@dylanholmes dylanholmes mentioned this pull request Jul 16, 2024
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