metric tracing