Hello! My name is Egor Ivanov and I am a test automation specialist. For quite a long time before that, I worked in various companies from the BI field. I love data visualization and I believe that without it it is impossible to build workflows, and even more so processes in testing. Therefore, I want as many people as possible to use it, since data visualization is very important, and in the form of dashboards, it is also beautiful.
I hope the material will be useful for those who already use the dashboard - you may see a new application for this tool. And those who are unfamiliar with it will get to know it and may also start using it.
Many of us see the dashboard every day. He came to us from transport - this is the dashboard of the car.
In the picture on the left - just such a dashboard. This is a panel with various gauges that show speed, fuel, coolant temperature. In a modern car, there are indicators that show if everything is fine with the car, or if the "Check engine" light comes on and you need to check something.
( ) — IT, , . . , , , . , . , , .
, , , .
— . , . , — . , , , .
. :
. , .
, .
, .
, , .
, — . ? «Money» , , , , , .
, . — . , . , .
? Jira . , -, : «», « », « », «». « » — . « » — - .
, Autorun Jira, . , . Locker.
Autorun , . Locker UI. , - . , .
, Autorun Locker, — Pinger, , . UI-, Pinger — -, : , , , - . Autorun API . , .
Autorun , Jenkins, , .
- . — - . , . UI, Locker Pinger — , , . , .
? , . HTML-, API , .
? Jira , Pinger — , Locker — . , UI « », . , , . , , , , . .
, . :
, , — ☺
, . . , , — Grafana.
, — . , .
, , BI- ClickView, , Google Data Studio, . Grafana .
, Grafana.
— PostgreSQL Google Sheets. Graphite. ? , . . , Graphite — .
? StatsD Telegraf. : , . Telegraf 30 , , Graphite.
, UDP, Telegraf 100% . , , , .
StatsD , :
g (Gauge) — 30 Telegraf , ;
(Count) — , Telegraf , ;
s (Set) — , ;
ms (Timer) — ( , count, max, min ..).
. Java, Java StatsD Client — . . Java , , . Autorun . Pinger.
import com.timgroup.statsd.StatsDClient;
import com.timgroup.statsd.NonBlockingStatsDClient;
public class Foo {
private static final StatsDClient statsd =
new NonBlockingStatsDClient("my.prefix", "statsd-host", 8125);
public static final void main(String[] args) {
statsd.incrementCounter("bar");
statsd.recordGaugeValue("baz", 100);
statsd.recordExecutionTime("bag", 25);
}
}
https://github.com/tim-group/java-statsd-client
sh. , Jenkins, CI. Jenkins.
echo "my.prefix.bar:1|c" | nc -w 0 -u statsd-host 8125
echo "my.prefix.baz:25|g" | nc -w 0 -u statsd-host 8125
. Grafana, , . — , , / . . — , .
—
. — , , :
;
, ;
, ;
, ( ).
, , . ?
— , . . , - 100%, - : «, , - - , ». , , , .
— . , - , , , — , .
. , — .
—
, , — , 100% AutoPass. , . .
, . , — code review. , , . , , «approve» . «approve», , . , - , . , , .
: comments, approve, needs work. . — «». , - approve, , , . .
pull request «approve», 90% . «approve» — « , », — .
. .
. : «, - …» , , , , ? .
, , .
, , . . , , . . , — , . , : ?
, - , , , . , , — . , , , , .
, , — .
, — , . — . . , . . ( , ). . : « - -», « - -». , — .
? , , , , - . , ? — . , , .
, , , .
. , , , . , , .
:
,
,
,
, ,
.
. , , - . , . , .
, , , :
« , , ».