It made me remember when I was working on the J2EE ecosystem shudder
Benchmarking OpenTelemetry: Can AI trace your failed login?
21–30 of 85 posts
Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#22From the post I expected that the tasks were about analysing traces, but all the tasks in the repository are about adding instrumentation to code!
Some of the instructions don't give any guidance how to do it, some specify which libraries to use.
"Use standard OTEL patterns" ... that's about as useful as saying "go write some code". There are a lot of ways to do instrumentation....
I'd be very curious HOW exactly the models fail.
Are the test sets just incredibly specific about what output they except, and you get a lot of failures because of tiny subtle mismatches? Or do they just get the instrumentation categorically wrong?
Also important: do the models have access to a web search tool to read the library docs? Otel libraries are often complicated to use... without reading latest docs or source code this would be quite tricky.
Some models have gotten better at adding dependencies, installing them and then reading the code from the respective directory where dependencies get stored, but many don't do well with this.
All in all, I'm very skeptical that this is very useful as a benchmark as is.
I'd be much more interested in tasks like:
Here are trace/log outputs , here is the source code, find and fix the bug.
Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#23If everyone else is the problem... maybe you are the problem. To me this says more about OTel than AI.
But not everyone else is the problem? OTel works fine for humans. Sometimes AIs are just shit
Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#24If everyone else is the problem... maybe you are the problem. To me this says more about OTel than AI.
Can you help me understand where you are coming from? Is it that you think the benchmark is flawed or overly harsh? Or that you interpret the tone as blaming AI for failing a task that is inherently tricky or poorly specified? My takeaway was more "maybe AI coding assistants today aren’t yet good at this specific, realistic engineering task"....
I think you would see similar results if tasking an AI to e.g. write GRPC/Protobuf systems using only the builtin/official protobuf codegen languages.
Where I think the benchmark is quite fair is in the solutions. It looks like for each of the languages (at least the ones I'm familiar with), the "better" options were chosen, e.g. using `tracing-opentelemtry` rather than `opentelemetry-sdk` directly in Rust.
However the one-shot nature of the benchmark also isn't that reflective of the actual utility. In my experience, if you have the initial framework setup done in your repo + a handful of examples, they do a great job of applying OTEL tracing to the majority of your project.
Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#25Original title: Benchmarking OpenTelemetry: Can AI trace your failed login? HN Editorialized: OTelBench: AI struggles with simple SRE tasks (Opus 4.5 scores only 29%) The task: > Your task is: Add OTEL tracing to all microservices. > Requirements: > Instrumentation should match conventions and well-known good practices. > Instrumentation must match the business domain of the microservices. > Traces must be sent to th…
I've had to work in systems where events didn't share correlation IDs, I had to go in and filter entries down to microseconds to get a small enough number of entries that I could trace what actually happened between a set of services.
From what I've seen in the enterprise software side of the world is a lot of companies are particularly bad at SRE and there isn't a great amount of standardization.
Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#26This is very confusingly written. From the post I expected that the tasks were about analysing traces, but all the tasks in the repository are about adding instrumentation to code! Some of the instructions don't give any guidance how to do it, some specify which libraries to use. "Use standard OTEL patterns" ... that's about as useful as saying "go write some code". There are a lot of ways to do instrumentation.... I…
In supporting a piece of cloud software with a lot of microservices I think this is a more generalized problem for humans. The app I work with demanded some logging requirements like the library to use. But that was it, different parts by different teams ended up with all kinds of different behaviors.
As for the AI side, this is something where I see our limited context sizes causing issues when developing architecture across multiple products.
Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#27This is a little damning of the way Google does things honestly. >When an app runs on a single machine, you can often trace an error by scrolling through a log file. But when it runs across 50 microservices, that single request gets scattered into a chaotic firehose of disconnected events. Yep this is about Google. It's painful for humans to debug and it's also an extremely bespoke issue to deal with. No one else has…
isn't that what trace IDs are for?
In general for those tasks though the question is more "How would a human do it". If it's impossible for a human because your tooling is so bad you can't even get the logs across services for a single ID, that seems like a pretty serious design issue.
In general looking at the prompt though, this is also not very representative. You don't have an SOP that you can share with your agent? How do you expect new hires to onboard?
Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#28Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#29This is a little damning of the way Google does things honestly. >When an app runs on a single machine, you can often trace an error by scrolling through a log file. But when it runs across 50 microservices, that single request gets scattered into a chaotic firehose of disconnected events. Yep this is about Google. It's painful for humans to debug and it's also an extremely bespoke issue to deal with. No one else has…
isn't that what trace IDs are for?
Re: Benchmarking OpenTelemetry: Can AI trace your failed login?
#30Original title: Benchmarking OpenTelemetry: Can AI trace your failed login? HN Editorialized: OTelBench: AI struggles with simple SRE tasks (Opus 4.5 scores only 29%) The task: > Your task is: Add OTEL tracing to all microservices. > Requirements: > Instrumentation should match conventions and well-known good practices. > Instrumentation must match the business domain of the microservices. > Traces must be sent to th…
These aren't challenging things to do for an experienced human at all. But it's such a huge pain point for these models! It's hard for me to wrap my head around how these models can write surprisingly excellent code but fail down in these sorts of relatively simple troubleshooting paths.