agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/legacysdk/BytecodeUtilImpl.java [206:227]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    data.setMeasurements(metrics);

    if (!properties.isEmpty()) {
      Map<String, String> existingProperties = data.getProperties();
      if (existingProperties == null) {
        data.setProperties(properties);
      } else {
        existingProperties.putAll(properties);
      }
    }

    if (timestamp != null) {
      telemetry.setTime(FormattedTime.offSetDateTimeFromDate(timestamp));
    } else {
      telemetry.setTime(FormattedTime.offSetDateTimeFromNow());
    }
    selectivelySetTags(telemetry, tags);
    if (instrumentationKey != null) {
      telemetry.setInstrumentationKey(instrumentationKey);
    }

    track(telemetry, true);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/legacysdk/BytecodeUtilImpl.java [396:417]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    data.setMeasurements(metrics);

    if (!properties.isEmpty()) {
      Map<String, String> existingProperties = data.getProperties();
      if (existingProperties == null) {
        data.setProperties(properties);
      } else {
        existingProperties.putAll(properties);
      }
    }

    if (timestamp != null) {
      telemetry.setTime(FormattedTime.offSetDateTimeFromDate(timestamp));
    } else {
      telemetry.setTime(FormattedTime.offSetDateTimeFromNow());
    }
    selectivelySetTags(telemetry, tags);
    if (instrumentationKey != null) {
      telemetry.setInstrumentationKey(instrumentationKey);
    }

    track(telemetry, true);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



