<?xml version="1.0" encoding="UTF-8"?>
<profiler-configuration>
    <enhancer>brave</enhancer>
    <parameters>
        <parameter name="brave.trace_id" index="true" list="false"/>
        <parameter name="brave.span_id" index="true" list="false" order="800"/>
        <parameter name="brave.parent_id" index="true" list="false" order="810"/>
    </parameters>
    <ruleset if-enhancer="brave">
        <rule>
            <class>brave.RealSpan</class>
            <method>start(long)</method>
            <execute-after>logSpanIds$profiler()</execute-after>
        </rule>
        <rule>
            <class>brave.RealSpan</class>
            <method>tag(String, String)</method>
            <execute-after>logTag$profiler(p2, p1)</execute-after>
        </rule>
    </ruleset>
    <rule>
        <class>brave.RealSpan</class>
        <method>error(Throwable)</method>
        <log-parameter name="exception" index="false">0</log-parameter>
    </rule>
</profiler-configuration>
