Search in sources :

Example 1 with TAnnotationValue

use of com.navercorp.pinpoint.thrift.dto.TAnnotationValue in project pinpoint by naver.

the class RandomTSpan method randomTAnnotation.

public TAnnotation randomTAnnotation(int key) {
    TAnnotation tAnnotation = new TAnnotation();
    // sort order
    tAnnotation.setKey(key);
    TAnnotationValue tAnnotationValue = new TAnnotationValue();
    tAnnotationValue.setStringValue(RandomStringUtils.random(10));
    tAnnotation.setValue(tAnnotationValue);
    return tAnnotation;
}
Also used : TAnnotationValue(com.navercorp.pinpoint.thrift.dto.TAnnotationValue) TAnnotation(com.navercorp.pinpoint.thrift.dto.TAnnotation)

Aggregations

TAnnotation (com.navercorp.pinpoint.thrift.dto.TAnnotation)1 TAnnotationValue (com.navercorp.pinpoint.thrift.dto.TAnnotationValue)1