String getMachineType()

in detectors/resources/src/main/java/com/google/cloud/opentelemetry/detectors/GCPMetadataConfig.java [81:87]


  String getMachineType() {
    String machineType = getAttribute("instance/machine-type");
    if (machineType != null && machineType.contains("/")) {
      machineType = machineType.substring(machineType.lastIndexOf('/') + 1);
    }
    return machineType;
  }