Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change name of telemetry events to use . #1017

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
*/
public class InitializationTelemetryInfo {

public static final String JVM_MEMORY_MAX = "jvm_memory_max";
public static final String JVM_MEMORY_TOTAL = "jvm_memory_total";
public static final String JVM_MEMORY_FREE = "jvm_memory_free";
public static final String JVM_IS_NATIVE_IMAGE = "server_is_native";
public static final String JVM_RUNTIME = "jvm_runtime";
public static final String JVM_VERSION = "jvm_version";
public static final String JVM_NAME = "jvm_name";
public static final String SERVER_VERSION_NUMBER = "server_version";
public static final String JVM_MEMORY_MAX = "jvm.memory.max";
public static final String JVM_MEMORY_TOTAL = "jvm.memory.total";
public static final String JVM_MEMORY_FREE = "jvm.memory.free";
public static final String JVM_IS_NATIVE_IMAGE = "server.is.native";
public static final String JVM_RUNTIME = "jvm.runtime";
public static final String JVM_VERSION = "jvm.version";
public static final String JVM_NAME = "jvm.name";
public static final String SERVER_VERSION_NUMBER = "server.version";

/**
* Returns the init telemetry as a map
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class TelemetryManager {
/**
* "startup" telemetry event name
*/
private static final String STARTUP_EVENT_NAME = "server_initialized";
private static final String STARTUP_EVENT_NAME = "server.initialized";

private final LanguageClient languageClient;

Expand Down