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

feat: support span events #2911

Merged
merged 4 commits into from Jul 11, 2023
Merged

feat: support span events #2911

merged 4 commits into from Jul 11, 2023

Conversation

mathnogueira
Copy link
Member

This PR adds support for span events as part of the span attributes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

* feat: add span events as an attribute called "events"

* update attribute name to "span.events"

* fix test
…gRPC and HTTP variants) (#2887)

support events in jaeger and tempo (grpc and http)
* feat: support span events in app insights

* don't ignore error and fix function names
}
}

func withEvents(events []model.SpanEvent) option {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These types of mocking utils for spans and traces can be really useful for the entire test suite, in the future I think we should consider having them globally available

Copy link
Collaborator

@xoscar xoscar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job, and really clean 🧼

* add docs and test in expression executor

* Update docs/docs/cli/creating-test-specifications.md

Co-authored-by: Julianne Fermi <julianne@kubeshop.io>

---------

Co-authored-by: Julianne Fermi <julianne@kubeshop.io>
@mathnogueira mathnogueira merged commit 0c190bc into main Jul 11, 2023
25 checks passed
@mathnogueira mathnogueira deleted the feat/support-span-events branch July 11, 2023 18:34
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.

None yet

3 participants