Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.27 KB

USAGE_DATA.md

File metadata and controls

24 lines (20 loc) · 1.27 KB

Telemetry data collection

If xml.telemetry.enabled is set to true, LemMinX emits telemetry events. These events can be collected by the LSP client program.

When telemetry events are enabled, the following information is emitted when the language server starts:

  • JVM information:
    • Whether LemMinX is being run with Java or as a GraalVM native image (binary)
    • The name of the vm (java.vm.name)
    • The name of the runtime (java.runtime.name)
    • The version of the JVM (java.version)
    • The free, total, and max VM memory
  • Version information:
    • The server version number
  • Text Document Information
    • When a document is opened :
      • The file extension (eg. xml, xsd, dtd, rng)
      • The associated grammar types (eg. none, doctype, xml-model, xsi:schemaLocation, xsi:noNamespaceSchemaLocation)
      • The grammar identifiers for an XML document (eg. http://maven.apache.org/xsd/maven-4.0.0.xsd)
      • The resolver used to resolve the grammar identifier (eg. catalog, file association, embedded catalog.xsd, embedded xml.xsd, embedded xslt.xsd, relaxng.rng)
  • Note: Does NOT include the JAVA_HOME environment variable for privacy reasons

Currently, the startup event is the only telemetry event that is emitted.