Examples of TraceTaggerProcessor


Examples of com.jitlogic.zorka.core.spy.plugins.TraceTaggerProcessor

     * @param attrTag
     * @param tags
     * @return
     */
    public SpyProcessor customTags(String attrName, String attrTag, String... tags) {
        return new TraceTaggerProcessor(symbolRegistry, tracer, attrName, attrTag, tags);
    }
View Full Code Here

Examples of com.jitlogic.zorka.core.spy.plugins.TraceTaggerProcessor

        traceBuilder.check(0, "attrVal", new TaggedValue(symbols.symbolId("SQL_QUERY"), "select * from table"));
    }

    @Test
    public void testTraceTags() {
        new TraceTaggerProcessor(symbols, tracerObj, "TAGS", "TAGS", "TAG1", "TAG2").process(null);

        traceBuilder.check(0, "action", "newAttr", "attrId", symbols.symbolId("TAGS"));
        traceBuilder.check(0, "attrVal", new TaggedValue(symbols.symbolId("TAGS"),
                ZorkaUtil.<Integer>set(symbols.symbolId("TAG1"), symbols.symbolId("TAG2"))));

        new TraceTaggerProcessor(symbols, tracerObj, "TAGS", "TAGS", "TAG3", "TAG4").process(null);

        traceBuilder.check(0, "attrVal", new TaggedValue(symbols.symbolId("TAGS"), ZorkaUtil.<Integer>set(
                symbols.symbolId("TAG1"), symbols.symbolId("TAG2"), symbols.symbolId("TAG3"), symbols.symbolId("TAG4"))));

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.