Ls

Lspwatch – Automatic, configurable observability for language servers

Hacker News

Lspwatch – Automatic, configurable observability for language servers

Hey HN, I'm sure many of you have encountered statically-typed codebases so large and complicated that your code editors freeze, lag, become unresponsive, and generally struggle. Debugging a slow editor is involved and usually an unwelcome distraction. In many cases, slowness in code editors comes from language servers, which are external programs that provide language features (e.g. go-to-definition, diagnostics, type hints). Examples of developer frustrations: [1] and [2]. At a previous company, we were concerned about growing internal frustrations from editors bottle-necked by slow language servers. We were also concerned about how little insight we had into their performance and behaviour. So, we decided to instrument code editors and collect language server telemetry. The data we collected was shockingly useful and helped diagnose several major problems. For example, we identified certain modules in the codebase where the language server was much slower than normal. We subsequently found ways to break up these modules to reduce load on the language server. I believe having this kind of data can be a game changer for managing developer experience, especially at scale. This is why I built lspwatch, a generalization of this tool which works with all LSP-compliant language servers and integrates with several observability backends. Getting lspwatch up and running is very easy. Optionally configure your instrumentation, point it at your existing observability backend, and it will just work. lspwatch will transparently monitor language server behaviour and emit metrics. Developers won’t notice any difference in their code editors. I welcome your feedback and thoughts. The README contains a lot more detail. Many exciting features are on the way to build on the platform this project provides. If you’d like to talk some more about this problem, email is in my profile. Cheers! [1] https://bsky.app/profile/mike.contribsys.com/post/3lbd5wx57s... [2] https://github.com/typescript-language-server/typescript-lan...

Share card

Actual performance

6points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: email, code · Missing: mac, agents, macos
90%90% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
89%89% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
70%70% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
41%41% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform · Missing: plus, intuitive, reviews
33%33% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

PD
PDFAgent with Observability55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PDFAgent with Observability

Hacker News4
Au
Automatic Parallelization for Haskell74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Automatic Parallelization for Haskell

Hacker News1
Au
Automatic CloudWatch Alarms52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Automatic CloudWatch Alarms

Hacker News1
AP
APReF: An Automatic Parallelizer of Recursive Functions for Haskell67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

APReF: An Automatic Parallelizer of Recursive Functions for Haskell

Hacker News2
Au
Automatic Installer for ArchLinux ARM51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Automatic Installer for ArchLinux ARM

Hacker News1
AI
AIlight: Automatic Highlighting52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AIlight: Automatic Highlighting

Hacker News1
Ga
Galene-stt: automatic captioning for the Galene videconferencing system58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Galene-stt: automatic captioning for the Galene videconferencing system

Hacker News2
Sm
Smig – Automatic SurrealDB Migrations36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Smig – Automatic SurrealDB Migrations

Hacker News1
Au
Automatic initializer methods for Objective-C39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Automatic initializer methods for Objective-C

Hacker News3
Wh
Why we moved our servers to Iceland48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Why we moved our servers to Iceland

Hacker News14