Earlier quoted context omitted.
I'm the author of the post. You raise a good point about relative savings. Based on last week's data, our change reduced the task time by 40ms from an average of 3440ms, and this task runs 11 million times daily. This translates to a saving of about 1% on compute.
Thanks for the follow up, sounds like a decent saving and investment of time then.
Saving Three Months of Latency with a Single OpenTelemetry Trace
11–20 of 46 posts
Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#12Here's the PR that got merged earlier in the year: https://github.com/open-telemetry/opentelemetry-js-contrib/p...
The env var config is `OTEL_NODE_ENABLED_INSTRUMENTATIONS`
Anyways, love Opentelemetry success stories. Been working hard on it at my current company and yielding fruits already :)
Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#13On the noisy NodeJS auto-instrumentation, it is indeed very noisy out of the box. Myself along with a bunch of other ppl finally got the project to allow you to select the instrumentations via configuration. Saves having to create your own tracer.ts/js file. Here's the PR that got merged earlier in the year: https://github.com/open-telemetry/opentelemetry-js-contrib/p... The env var config is `OTEL_NODE_ENABLED_INSTR…
Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#14I wish posts like this would explore the relative savings rather than the absolute. On its own I don’t feel like that saving is really telling me much, taken to the extreme you could just not run the service at all and save all the time - a tongue in cheek example but in context is this saving a big deal or is it just engineering looking for small efficiencies to justify their time?
I agree, but this post looks like an advertisement about the service itself.
(Long time happy Checkly user here, the service is fantastic)
Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#15On the noisy NodeJS auto-instrumentation, it is indeed very noisy out of the box. Myself along with a bunch of other ppl finally got the project to allow you to select the instrumentations via configuration. Saves having to create your own tracer.ts/js file. Here's the PR that got merged earlier in the year: https://github.com/open-telemetry/opentelemetry-js-contrib/p... The env var config is `OTEL_NODE_ENABLED_INSTR…
instrumentations: [getNodeAutoInstrumentations({
'@opentelemetry/instrumentation-fs': {
enabled: false,
},
'@opentelemetry/instrumentation-net': {
enabled: false,
},
'@opentelemetry/instrumentation-dns': {
enabled: false,
},Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#16Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#17Earlier quoted context omitted.
I agree, but this post looks like an advertisement about the service itself.
It’s literally on the company’s blog, which is partially about promoting the company’s service. What’s the issue with that? (Long time happy Checkly user here, the service is fantastic)
I, for example, like to dive more on insights like the relative savings vs absolut to learn the approaches other engineers take! It's all about metrics we should take care.
(I'll put this service on my list to try someday, looks like fantastic indeed)
Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#18μs isn't picoseconds, it's microseconds, which are a million times bigger...
Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#19Re: Saving Three Months of Latency with a Single OpenTelemetry Trace
#20On the noisy NodeJS auto-instrumentation, it is indeed very noisy out of the box. Myself along with a bunch of other ppl finally got the project to allow you to select the instrumentations via configuration. Saves having to create your own tracer.ts/js file. Here's the PR that got merged earlier in the year: https://github.com/open-telemetry/opentelemetry-js-contrib/p... The env var config is `OTEL_NODE_ENABLED_INSTR…
That is awesome. Had no idea this was available as an env var. After diving into OTel for our backend, we also found some of this stuff is just too noisy. We switch it of using this code snippet, for anyone bumping into this thread: instrumentations: [getNodeAutoInstrumentations({ '@opentelemetry/instrumentation-fs': { enabled: false, }, '@opentelemetry/instrumentation-net': { enabled: false, }, '@opentelemetry/instr…