本文整理了Java中zipkin2.storage.QueryRequest.spanName
方法的一些代码示例,展示了QueryRequest.spanName
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryRequest.spanName
方法的具体详情如下:
包路径:zipkin2.storage.QueryRequest
类名称:QueryRequest
方法名:spanName
[英]When present, only include traces with this Span#name
[中]
代码示例来源:origin: io.github.jeqo.zipkin/zipkin-storage-kafka
if (queryRequest.spanName() != null) {
String spanName = queryRequest.spanName();
TermQuery spanNameQuery = new TermQuery(new Term("name", spanName));
builder.add(spanNameQuery, BooleanClause.Occur.MUST);
代码示例来源:origin: io.zipkin.zipkin2/zipkin-storage-cassandra
QueryRequest request, TimestampRange timestampRange, int traceIndexFetchSize) {
String spanName = null != request.spanName() ? request.spanName() : "";
Long minDuration = request.minDuration(), maxDuration = request.maxDuration();
int startBucket = CassandraUtil.durationIndexBucket(timestampRange.startMillis * 1000);
代码示例来源:origin: io.zipkin.zipkin2/zipkin-storage-cassandra
if (request.spanName() != null || request.minDuration() != null || callsToIntersect.isEmpty()) {
Call<Set<Entry<String, Long>>> bucketedTraceIdCall =
newBucketedTraceIdCall(request, timestampRange, traceIndexFetchSize);
代码示例来源:origin: io.zipkin.zipkin2/zipkin-storage-cassandra-v1
List<String> annotationKeys = CassandraUtil.annotationKeys(request);
if (request.serviceName() != null) {
if (request.spanName() != null) {
callsToIntersect.add(
this.selectTraceIdsBySpanName.newCall(
request.serviceName(),
request.spanName(),
request.endTs() * 1000,
request.lookback() * 1000,
代码示例来源:origin: io.zipkin.zipkin2/zipkin
boolean testedDuration = minDuration() == null && maxDuration() == null;
String spanNameToMatch = spanName();
Map<String, String> annotationQueryRemaining = new LinkedHashMap<>(annotationQuery());
内容来源于网络,如有侵权,请联系作者删除!