code: @Override
      public Map<String, String> getTelemetryProperties() {
          final Map<String, String> map = super.getTelemetryProperties();
          final WebAppConfiguration webAppConfiguration;
          try {
              webAppConfiguration = getWebAppConfiguration();
          } catch (Exception e) {
              map.put(INVALID_CONFIG_KEY, e.getMessage());
              return map;
          }
          if (webAppConfiguration.getImage() != null) {
              final String imageType = WebAppUtils.getDockerImageType(webAppConfiguration.getImage(),
                  webAppConfiguration.getServerId(), webAppConfiguration.getRegistryUrl()).toString();
              map.put(DOCKER_IMAGE_TYPE_KEY, imageType);
          } else {
              map.put(DOCKER_IMAGE_TYPE_KEY, DockerImageType.NONE.toString());
          }
          map.put(SCHEMA_VERSION_KEY, schemaVersion);
          map.put(OS_KEY, webAppConfiguration.getOs() == null ? "" : webAppConfiguration.getOs().toString());
          map.put(JAVA_VERSION_KEY, webAppConfiguration.getJavaVersion() == null ? "" :
              webAppConfiguration.getJavaVersion().toString());
          map.put(JAVA_WEB_CONTAINER_KEY, webAppConfiguration.getWebContainer() == null ? "" :
              webAppConfiguration.getJavaVersion().toString());
          map.put(LINUX_RUNTIME_KEY, webAppConfiguration.getRuntimeStack() == null ? "" :
              webAppConfiguration.getRuntimeStack().stack() + " " + webAppConfiguration.getRuntimeStack().version());
  
          try {
              map.put(DEPLOYMENT_TYPE_KEY, getDeploymentType().toString());
          } catch (MojoExecutionException e) {
              map.put(DEPLOYMENT_TYPE_KEY, "Unknown deployment type.");
          }
          return map;
      }
docs: region Telemetry Configuration Interface