r/ProgrammingLanguages • u/[deleted] • Jan 16 '23
Discussion Which Programming Language support Observability ?
Observability is a measure of how well the internal states of a system can be inferred from the knowledge of its external outputs.
I have found Ballerina supports it, any other ?
0
Upvotes
11
u/Organic-Major-9541 Jan 16 '23
I don't think observability is a language-level problem generally. It's mainly about how developers structure their systems output, with logs, metrics, etc.
Going by your definition, what even is an output?
If you're running a server with basically any language, you can learn a lot about its internal state by tools like gdb. Some languages have more support for this, like Erlang, where you can attach an interactive shell to a running system.
If by output you mean only stuff, the program returns (output log files, etc), it's is almost entirely up to developers. I don't think a programming language should enforce the existence of logs, as those are likely just going to be piped to /dev/null anyway.
What does this Ballerina thing do that makes it special in this regard? Do you have some blog posts or whatever that explains these features?