add sample event send feature into SampleNamespace.