/** * {@inheritDoc} */ @Override protected void applyAssignment(AgentConfig agentConfiguration, SensorInstrumentationPoint registeredSensorConfig) { // call super first super.applyAssignment(agentConfiguration, registeredSensorConfig); // deal with context captures if (CollectionUtils.isNotEmpty(timerAssignment.getContextCaptures())) { for (AbstractContextCapture contextCapture : timerAssignment.getContextCaptures()) { registeredSensorConfig.addPropertyAccessor(contextCapture.getPropertyPathStart()); } } } }