redhat-developer / redhat-developer/yaml-language-server

Telemetry communication between language-service with monaco-editor

Open
#987 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
352
Avg merge
2d 7h
Merged PRs (30d)
11

Description

Summary

Is there a way for monaco-editor to log telemetry that happens in the language-service?
I understand that there is a Telemetry interface here, but can I use my own logging service to log the data from the monaco-editor component?

Relevant information

I'm linked yaml-language-service with a React monaco-editor and I want to be able to log the telemetry made in the language-service through monaco-editor because my logging service lives in the monaco-editor

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/languageservice/telemetry.ts and trace how the language service communicates with a React monaco-editor integration. Determine whether telemetry can be forwarded to a caller-provided logging service, and define what interface or integration behavior would be needed to make that possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.