org.apache.avro.ipc.stats.templates.statsview.vm Maven / Gradle / Ivy
##
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
#macro( makeChart $attr_map )
#if ($attr_map.type == "bar")
#end
#if ($attr_map.type == "dot")
#end
#end
#macro( makeChartHeader $attr_map )
#if ($attr_map.type == "bar")
$attr_map.title
Average: $attr_map.avg$attr_map.units
Stdev: $attr_map.stdDev$attr_map.units
#end
#if ($attr_map.type == "dot")
$attr_map.title
Most recent calls
#end
#end
$title
$title
Running since: $startupTime
Currently: $currTime
#if ($inFlightRpcs.size() != 0)
Active RPC's
#foreach( $rpc in $inFlightRpcs )
- $rpc
#end
#end
#foreach ($message in $messages)
#set( $width = $message.charts.size() * 300 )
$message.name ($message.numCalls calls)
#foreach ($chart in $message.charts)
#makeChartHeader($chart)
#end
#foreach ($chart in $message.charts)
#makeChart($chart)
#end
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy