code: @Override
      public Map<String, String> getTelemetryProperties() {
          final Map<String, String> map = super.getTelemetryProperties();
  
          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