Tracetest Monthly Newsletter - November 2023
Check out all of the latest and greatest updates in the Tracetest world in our monthly newsletter!
Table of Contents
Join the Slack Community here to talk all things Tracetest, get instant support from our team, or simply say hi. If you like what we're doing, and haven't already, leave us a ⭐ on GitHub. Thank you for being part of the community. Your support and feedback are invaluable. ❤️
Hello, Tracetest Community! 👋
We are thrilled to share the latest updates and exciting news from the Tracetest community! Take a look at what's happened in the last month. 👇
Hot tip of the day
Parent-child Relation and :First Filtering
There are times when a span you want to select appears several times in a trace, but you want to test a specific instance of it. To select the particular span, you can specify its parent or its position. For example, when trying to test the FeatureFlagService GetFlag operation, we see it matches 3 spans, but we want to apply an assertion against the one called by the get_product_list operation:
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455661/newsletters/november%202023/select_spans_b4_oklspu.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455661/newsletters/november%202023/select_spans_b4_oklspu.png)
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455737/newsletters/november%202023/trace_b4_bmyozg.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455737/newsletters/november%202023/trace_b4_bmyozg.png)
Using the information from the [selectors docs](https://docs.tracetest.io/concepts/selectors), we can see how to select the first span that is a child of the ‘get_product_list’.
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455816/newsletters/november%202023/select_spans_after_snlywv.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455816/newsletters/november%202023/select_spans_after_snlywv.png)
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455870/newsletters/november%202023/trace_after_zmhyb1.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455870/newsletters/november%202023/trace_after_zmhyb1.png)
You can then create **add** assertions that apply to the specific span, verifying the value retrieved from the feature flag service by get_product_list is correct.
What's New with Tracetest 🎉
Tracetest Core [v0.14.7](https://github.com/kubeshop/tracetest/releases/tag/v0.14.7) **has been released:** This update includes a brand new, lovely, test creation flow, skip trace capability, and more. Lots and lots of new capability released... we will cover the highlights below.
New! ‘skip trace’ allows black box tests! You can now run Tracetest on code bases you have not instrumented… yet. Run a black box test, instrument with OpenTelemetry, and then upgrade to a full end to end test.
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455923/newsletters/november%202023/skip-trace_ayjps9.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455923/newsletters/november%202023/skip-trace_ayjps9.png)
Try our demos! We made it easy to try Tracetest, as well as play around with its features to learn more about our OpenTelemetry solution. We have added the [OpenTelemetry Community Demo](https://app.tracetest.io/organizations/ttorg_2179a9cd8ba8dfa5/invites/invite_646747b36e9ee487/accept), an Astronomy Store, and our own [Pokeshop API demo](https://app.tracetest.io/organizations/ttorg_2179a9cd8ba8dfa5/invites/invite_760904a64b4b9dc9/accept). [Check out the docs](https://docs.tracetest.io/getting-started/try-live-demos) and use the ‘join’ links for each demo to immediately run and create tests.
Invite Links. Aren’t these links to join the tracetest-demo organization and be registered as an engineer for the demo environments cool? Creating these [magic invite links](https://docs.tracetest.io/concepts/roles-and-permissions#adding-organization-members-by-invite-link) is part of the product now! Slack an invite to allow people to join a particular Org / environment with a particular role.
Run Agent on the Cloud (BETA). A Tracetest customer asked if they could use [app.tracetest.io](http://app.tracetest.io) without running an agent locally? They have a large function as a service (FaaS) based system with lots of complexity, and want to use Tracetest to build tests. They have public endpoints, and wanted to send the trace data to tracetest.io via the OTel collector, having Tracetest run the agent. It is [now in Beta](https://docs.tracetest.io/concepts/cloud-agent)!
Integrations 🤝
- New Github Action! Making it easy to connect to [Tracetest.io](http://Tracetest.io) from Github Action Workflows. [Try it!](https://github.com/kubeshop/tracetest-agent-action)
- Test Kafka Based Architectures! Our own Daniel Dias [created an example](https://github.com/kubeshop/tracetest/tree/main/examples/tracetesting-event-driven-systems) and wrote a technical blog post documenting how to [test event-driven systems with OpenTelemetry](https://tracetest.io/blog/testing-event-driven-systems-with-opentelemetry).
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455991/newsletters/november%202023/test-event-based-kafka-system_a2dkq3.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701455991/newsletters/november%202023/test-event-based-kafka-system_a2dkq3.png)
From the Community 🎙️
- Tracetest was at KubeCon NA! Jorge and I attended OTel Day on Monday and talked to people at the Tracetest booth Tuesday through Thursday. 100+ great conversations with current and future users.
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701456034/newsletters/november%202023/kubecon_xnrsrf.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701456034/newsletters/november%202023/kubecon_xnrsrf.png)
- Didn’t Make it to Kubecon? Read about what we saw in our ‘[Observability at KubeCon](https://tracetest.io/blog/observability-at-kubecon-north-america-2023-in-chicago)’ article.
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701456087/newsletters/november%202023/opentelemetry-day_ztzz0t.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701456087/newsletters/november%202023/opentelemetry-day_ztzz0t.png)
- KCD Austria Talk. Adnan Rahic’s conference talk, [Distributed tracing is awesome, testing is not… until now](https://www.youtube.com/watch?v=ih7S-HXdo_Y), has been published on Youtube. Watch it!
- Tracetest is part of the OTel Demo CI/CD Pipeline! Austin Parker, one of the co-founders and maintainers of OpenTelemetry, [just added](https://github.com/open-telemetry/opentelemetry-demo/pull/1278) Tracetest tests to the CI/CD process for the official [OTel Demo](https://opentelemetry.io/docs/demo/). Our team wrote [these tests](https://github.com/open-telemetry/opentelemetry-demo/tree/main/test/tracetesting) earlier this summer to help maintain quality of this important Open Source project, but they were run manually… until now! It is now [automated as part of the build system](https://github.com/open-telemetry/opentelemetry-demo/actions/runs/7030276512/job/19129604046#step:4:16405).
![https://res.cloudinary.com/djwdcmwdz/image/upload/v1701456144/newsletters/november%202023/OpenTelemetry_Demo_Merge_nwlphg.png](https://res.cloudinary.com/djwdcmwdz/image/upload/v1701456144/newsletters/november%202023/OpenTelemetry_Demo_Merge_nwlphg.png)
- Contribute to the [OpenTelemetry Community Demo](https://github.com/open-telemetry/opentelemetry-demo)! Our very own Adnan Rahic contributed to the OTel Demo, then wrote an article teaching others how. Read: [The Power of Traces: Learn by Contributing to OpenTelemetry](https://tracetest.io/blog/the-power-of-traces-learn-by-contributing-to-opentelemetry).
Like what we do?
Do you have a specific use case you would like us to cover? Do you want to contribute to Tracetest?
At Tracetest, we welcome all contributions!
Not sure where to start? You can:
- Visit our [Community Page](https://tracetest.io/community).
- Check out our contributing guidelines [here](https://github.com/kubeshop/tracetest/blob/main/CONTRIBUTING.md).
- [Book a meeting](https://calendly.com/ken-kubeshop/45min?month=2023-08) with us or chat with our team on [Slack](https://dub.sh/tracetest-community).
Thank you for being a part of the Tracetest community! We are committed to providing the necessary tools, knowledge, and resources to succeed in the field of tracing and testing. Let’s stay in touch and continue exploring. Stay tuned for more exciting updates in the coming months.
Super long recap, but we got a ton done in November! See you next month...
P.S. Adnan is out this week, but he has a great reason - he got married! Congratulations Adnan!!