refine instrumentation for analytics