Revert "Revert "TDQ-9141: fix new feature make Profiler to Allow variables, like context""

This reverts commit 17fc3fef4f1c7f0563f5c81083ced0a3dc36d5df.