dd-trace-rb
tracetest
dd-trace-rb | tracetest | |
---|---|---|
5 | 63 | |
363 | 1,179 | |
0.6% | 1.5% | |
10.0 | 8.1 | |
6 days ago | about 1 month ago | |
Ruby | Go | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dd-trace-rb
-
Integrating Datadog Instrumented Apps in your OpenTelemetry Stack
This action starts two Ruby on Rails APIs, one instrumented with ddtrace and another with OpenTelemetry SDK, both connecting to an OpenTelemetry Collector that sends data to Jaeger:
-
The end of "Useless Ruby sugar": On intuitions and evolutions
Thing is, once you have 1) and 2), the added complexity of bringing in, integrating, and writing for a different tool to achieve 3) begins to make little sense, when you can just go along and do it just as well in rspec anyway... It's a matter of balance and heavily depends on the project.
> if you're still at Datadog
As a matter of fact I am. Feel free to shoot me an email.
curl -s https://github.com/DataDog/dd-trace-rb/commit/176c642ca73679cabc5fa1a113bc9b600aa04dcd.patch | grep '^From:'
-
A few words on Ruby's type annotations state
> For myself, I'm fine with the typing being in a separate .rbs file
We type[0] by having one separate .rbs file per .rb file. Works really well with an editor's vertical splits: type outline on one side, code on the other. That, or use something like vim-projectionist[1].
[0]: (WIP: there's a huge codebase to type, but we're progressively getting there) https://github.com/DataDog/dd-trace-rb/tree/master/sig
[1]: https://github.com/tpope/vim-projectionist
-
Why Authorization Is Hard
Thanks! I'll pass it on to the team :D
I've got to say, the folks at Intercom made it particularly fun. They were sending us traces and graphs from their internal systems when we trying to figure out some issues with them (e.g. we ran into this datadog context problem: https://github.com/DataDog/dd-trace-rb/issues/1389)
tracetest
-
Tracetest Tip: Testing Span Order with Assertions
The example sources used in this article and setup instructions are available in the Tracetest GitHub repository.
-
End-to-End Observability with Grafana LGTM Stack
View the full sample code for the observability stack you'll build, here.
-
Testing LLM Apps with Trace-based Tests
For this article, I’ll show a simplified version of the code, to show how we can trigger an LLM task, expose it via API and then instrument it. You can see the complete source code, here.
-
Trace-Based Tests with GraphQL in Action!
Last, but not least, do you want to learn more about Tracetest and what it brings to the table? Check the docs and try it out by signing up today!
-
Running Trace-Based Tests with GitHub Actions and Secrets
Each one of these APIs has their code specified inside our source code on GitHub (here) inside the services folder. You can run them together using Docker Compose along with a Tracetest Agent, which we will use to test these services with the following command:
-
Test Observability for AWS Lambda with Grafana Tempo and OpenTelemetry Layers
See the full code for the example app you’ll build in the GitHub repo, here.
-
OpenTelemetry Trace Context Propagation for gRPC Streams
To avoid asking the PaymentReceiverAPIfor notifications, you model two endpoints: ReceivePayment to receive payments and NotifyPayment to emit these notifications. You can specify it with the following protobuf file (full example here):
-
Using Env Vars to Include & Exclude OpenTelemetry Node.js Libraries
Check out this example in a code sample, here on GitHub. There’s a runnable sample app you can start with Docker Compose to see it for yourself. Here’s what the trace will look like without the noisy fs and net events.
-
Integrating Datadog Instrumented Apps in your OpenTelemetry Stack
The example sources used in this article and setup instructions are available in the Tracetest GitHub repository.
-
Tracetest + Artillery Launch Week Recap 💥
Code Example
What are some alternatives?
ffi - Ruby FFI
djinn - Source code for the Djinn CI platform
contracts.ruby - Contracts for Ruby.
community - OpenTelemetry community content
inner_performance - Simple database-backed performance monitoring for your Rails app.
nomad-conversions - Repo containing conversions of Kubernetes and/or Docker Compose apps to Nomad jobspecs