上一主题: 创建自定义跟踪器下一主题: 跟踪器语法


常见自定义跟踪器示例

BlamePointTracer 是最常用的跟踪器。 此跟踪器为关联的方法或类生成五个单独的度量标准:

下面是 BlamePointTracer 的一个示例。 已为类 "petshop.catalog.Catalog" 中名为 "search" 的方法设置了 BlamePointTracer。 "MSPetShop|Catalog|search" 是 Introscope 调查器中节点的名称,BlamePoint 度量标准将显示在该节点下:

TraceOneMethodOfClass: petshop.catalog.Catalog search BlamePointTracer "MSPetShop|Catalog|search"