►
Description
Now you have Microservices in Java. How do you know if they are behaving properly? In this presentation, we will show you some observability best practices around logging, request tracing, and metrics. We will also explain some tools and frameworks, how to configure and use them to monitor your services.
B
B
A
C
In
this
presentation
we
are
going
to
talk
about
micro
services
and
observability
and
how
we
are
using
the
room
to
make
these
services
We
also
hoist
out
a
bit
of
pictures
and
we're
going
to
have
a
demonstration
at
the
end
good
end,
then.
The
fourth
is
presented
as
Java
subatomic
supersonic
a
it
has
for
objective.
C
The
wax
friend
of
the
form
I
have
containers
a
and
can
be
used
in
the
imperative
and
reactive
aspects
of
the
Java
language,
and
it
also
has
some
features
to
make
development
more
user-friendly.
The
composition.
The
earthly
thing
is
that
we
can
change
our
code
and,
in
real
time,
see
its
effects
on
applications
a
today.
We
want
the
room
to
provide
a
presentation
because
it
is
aimed
at
microservices.
A
C
Being
thought
about
is
being
talked
about,
put
sent
from
Michael
Fale
to
the
letter,
the
lightning
check,
which
is
very
important
in
the
world
of
microservices,
because
normally
there
is
a
container
manager
in
with
the
microservices.
If
we
think
in
terms
of
eating
net
is
happening
Before
when,
when
listening,
you
need
to
understand
if
the
micro
service
that
is
starting
is
already
working
and
is
working
well,
this
fawcett
specification
helps
us
to
create
the
tests
that
allow
that.
C
Therefore,
there
is
sick
as
I
Life
that
gives
Ok
when
the
white
one
and
then
there
is
also
a
network
in
the
network
check
that
we
can
implement
it.
For
example,
check
if
it
connects
only
the
base
of
the
is
working
well
or
external
service
that
we
need
to
behave
properly
only
after
these
endpoints
return.
It
Ok
is
that
normally
current
starts
blocking
traffic
to
the
service.
It
will
start
responding
to
requests.
There
is
also
a
simplification
for
Michael
to
talk
to
135,
and
we
use
here
a
for
us
for
us.
C
It
's
not
so
far
for
authentication
a
or
to
send
to
cement.
Our
end-point
was
rescued.
We
made
calls
between
services
and
it
presents
the
folklore
that
starts
a
series
of
the
functionalities
linked
to
tolerance.
The
flaws
like,
for
example,
taimalt,
a
circuit
breaker
interiors.
We
are
going
to
see
some
of
these
functionalities
also
in
the
demo
has.
The
car
is
in
also
some
other
interesting
possibilities
as
its
possible
to
have
to
automatically
take
care
of
everything
in
a
side
use
logo.
C
That
I
already
spoke
to
little
bit
where
we
can
be
doing
our
code,
and
we
should
still
see
Mouse
and
Exactly
what
is
happening
to
the
application
in
real
time
and
other
features
such
as,
for
example,
if
you
made
Corsa
for
cold
weather,
it
is
for
us
to
manage
our
assist
automatically
with
the
layout
of
our
database,
and
then
there
are
many
many
other
gross
ones.
A
well
documented,
a
it's
not
really
new,
or
it's
already,
two
years
old,
all
this
code.
C
These
features
these
the
country
you
want,
aren't
exactly
new,
but
the
code
The
code
that
glues
all
these
implementations
of
these
specifications
is
relatively
new
and
that's
why
it
allowed
to
rooms,
start
up
much
faster
for
example.
You,
someone
cities.
We
know
the
buildings
held
Jakarta
a
and
there's
so
much
more
in
terms
of
performance.
A
I
can
say
that
I'm
picture
that
we
did.
C
Those
was
led
by
this
group
that
has
this
guitar
page,
and
that
is-
and
it
allowed
us
to
see
that
the
server
positions
modes,
discussion,
A
classic
jvm-
knows
jacko
with
the
server
to
start
has
a
second,
the
start
time
compartment
other
flavors.
We
are
going
to
present
them
here,
but
compared
to
other
famous,
the
date
was
quite
good
to
and
the
requests
to
the
group
was
also
quite
go
and
comparing
with
the
native
mode
of
the
room,
if
we
continue
with
the
recording
here
at,
we
have
a
big
difference
there.
C
C
We
verify
that
the
Let's
say
the
number
of
requests
per
second
is
not
so
good
and
I
also
have
some
more
latency.
For
that
reason,
next
to
them
the
parks
to
build
our
microservices.
But
what
is
actually
a
microservice
is
a
very
small
service
and
when
we
are
small
with
small,
it
has
to
be
a.
C
C
Has
that
having
a
low
complement
with
another
service,
I.e.
we
should
not
depend
heavily
on
other
services,
for
example,
sharing
a
wrong
database
having
two
microservices
sharing
writings
in
a
database
and
because
that
commitment
is
to
do
it
independently
whenever
we
want
to
deliver
this
to
the
services
is
not
my
discussion,
and
if
we
have
a
database
that
is
used
by
two
services,
the
most
likely
is
when
o,
let's
change
the
schema
of
the
service's
database,
we'll
also
have
to
do.
The
other
thing
is:
let
them
have
Independence
in
the
Diploma
because
of
this
feast.
C
A
C
Whether
the
microservice
has
its
database-
and
it
has
Let's-
say
that
the
property
of
the
data
they
are
stored
and
then
you
will
have
to
scale
them
in
the
most
convenient
way,
using
the
most
convenient
database
for
the
functionality
being
served
and
they
are
organized
around
the
business
domains.
The
list
here
usually
has
a
large
number
of
microservices
Because.
Depending
on
on
the
business
part,
we
managed
to
isolate
that
part
and
do
business
with
them.
C
C
Even
if
the
domain
is
not
that
small
at
some
point
and
it
will
be
imposed,
It
is
possible
for
such
a
small
team
to
support
the
microservice,
and
in
that
case
you
will
have
to
create
another
team
to
continue
your
food,,
whether
the
size
of
the
team
that
developed
the
microservice
turns
out
to
be
a
very
strong
restriction
on
size
and
that
the
service
to
be
order.
This
is
what
comes
up
when
you
look
for
microservices.
C
In
there
I
made
a
primary,
there
will
always
be
many
microservices
and
there
will
always
be
a
big
confusion
left
when
we
talk
about
and
for
services.
We
talk
about
automation.
It
is
necessary
to
automate
the
diploma,
not
in
the
environments.
We
have
to
to
have
some
intelligence
in
the
set
points.
We
have
to
automate
the
Bill
of
Tests
and
we
have
to
have
a
Centralized
control
And,
because
it
is
not
possible
to
control
what
is
not
seen,
observability
comes
up
is
the
name.
It
is
the
name.
C
It
is
difficult
to
say
observability,
but
it
has
a
has.
A
definition
has
several
functions,
but
the
most
classic
and
you
can
search
when
you
search
Wikipedia
for
OBS
affability,
go
t
er,
a
definition
around
a
measure
of
how
good
and
how
well
the
internal
states
of
the
system
can
be
inferred
from
the
knowledge
of
its
from
its
external
glass
of
its
audios
is
closely
linked
with
contributing
controllability,
the
profanity,
but
the
definition
that
I
most
I
like
that
for
a
software
system.
A
C
Will
have
several
vectors
of
various
components
of
good
usability,.
We
will
have
to
have
a
login
35
to
track
orders
through
multiple
services.
having
to
have
metrics
and
then
we're
going
to
have
alerts
at
the
logging
level.
Ah,,
it's
not
possible
to
make
a
microservices
environment.
There
has
to
be
a
Centralized
logging
system
since
we're
going
to
have
so
many
services
and
so
many
instances
of
each
service.
C
If
we
don't
aggregate
all
these
fires
somewhere,
it
will
not
be
the
business.
It
is
possible
to
understand
what
is
happening.
There
are
several
taxi
permits.
Centralized
Fox,
more
famous
is
what
is
elastic
she
elasticsearch
logstash
kibana
or
some
standards
telemetry.
It
is
necessary
to
have
context
of
Loki's
line
seriously
receive
example,
and
the
drive
is
happening.
That
line
blog
is
some
other
context.
C
That
makes
it
easier
for
us
to
understand
where
it
comes
from,
that
logo
line
will
have
to
serve
from
which
Instance
of
which
region
eventually
important
to
use
it
that
way
in
the
vlogs.
So
that
later
we
can
easily
search
for
the
Logos.
As
with
this
format,
the
elastic
came
up
Ivana.
It
is
very
easy
later
to
do
them
as
with
when
the
lips
are
done
in
Jackson,
ahah
and
I,
also
fundamental,
to
have
a
correct
blog
level
use
errors
only
when
the
execution
was
interrupted.
C
By,
for
example,
when
we
have
a
cut
game
that
has
a
task
that
the
floor
counts
periodically,
and
it
is
important
we
have
the
beginning
of
each
of
the
Steps
that
passed
successfully
and
at
the
end
and
completed
the
task
so
that
we
can
validate
that
the
PS3
Taquara
and
it
is
also
important
to
have
Logos
always
had
a
transition
between
borders,
for
example,
before
I.
Send
a
message
from
pro
mente
depends
on
the
other.
I
could
intend
to
depend
on
the
amount
of
messages
I
am
sending
from
that
service.
C
However,
you
see,
there
are
many
messages.
It
may
not
be
formed
almost,
but
if
there
are
few
messages
we
said
we
are
sending
a
message.
Also,
we
help
later
to
do
it
later
and
then
the
last
line
here
is
very
important.
That
is
too
much
blogs
will
harm,
because
I
will
hide
the
defects
that
we
are
looking
for.
Only
we
must
have
in
the
long
bones
things
that
are
relevant
to.
C
And
the
35,
distributed
by
three
instruments
is
understood
to
follow
the
calls
between
the
various
services
in
the
context
of
a
request,
for
example,
to
There
are
some
tremors.
It
was
Marcos
that
some
publications
that
deal
with
this
it
seems
that
it
is
not
of
the
mind
I
bought
it
like
this
and
the
new
one
or
by
the
telematrix.
A
C
Replace
what
happens
to
these
services
this?
This
certification
allows
us
to
find
errors
in
the
calls
between
them
to
understand
which
service
failed
in
a
call
with
several
steps,
a
and
also
to
identify
performance
problems
in
the
service
calls.
We
will
be
able
to
measure
in
each
step
of
the
calls
how
long
the
response
took,
and
we
can
then
act
to
improve
these
points.
C
The
metrics
we
have
to
play
metrics
from
our
application,
so
we
can
understand
what
is
happening.
There
are
several
explanations:
metric
am
Michael
profile,
metrics
The
micrometer,
that
is
very
used
in
the
Spring
Bolt
world.
Also,
the
quarters
that
go
back
to
the
medical
apostles
is,
and
we
also
have
the
one
with
telemetry
I'll,
ask
the
matrix
Massification
What:
do
you
intend
to
aggregate
in
a
single
certification,
the
login
35
and
the
metrics,
and
then
There
are
many
PMs
who
are.
C
Application
performance
managers
that
are
closed
code.
It
was,
for
example,
neural
that
allow
us
to
later
obtain
these
metrics
and
create
the
one
that
call
this
law
am
service,
service
level
agreements
for
us
to
go
and
the
metrics
of
the
use
of
requests
when
spirit
We
have
how
many
have
failed.
How
long
has
the
service
been
working
correctly?
Is
it
having
errors
so
that
later
we
can
follow
along
the
time,
and
you
have
to
take
action
if
there
is
a
significant
degradation
and
then,
with
all
this
data
we
can
create
larvae.
C
If
we
detect
an
error,
we
can
be
notified,
we
can
see
the
Logos.
We
can
see
the
metrics
to
handle
these
errors,
and
we
must
also
have
a
correct
treatment
of
de
all
errors.
The
more
we
had
to
be
notified,
the
greater
the
stress
of
those
who
are
supporting
us.
We
will
deal
with
them,
for
example,
of
all
http-500
appear
and
say
cause
and
fix
it
as
soon
as
possible.
For
us,
with
problems
can
potentially
be
more
serious.
There
are
many
tools
to
cut
errors
to
some.
C
C
C
C
Sometimes
it
goes
well
and
before
registering
the
code,
let
me
show
you
a
little
the
structure
of
this
service
up
to
the
project,
the
consortium,
then
you
can
see
in
the
gu,
itarra
and
terra,
is
separated
into
two
parts,
one
with
structure
and
another
with
applications.
The
infrastructure
is
based
on
exchange
with
well
to
be
done.
We
are
going
to
have
one
inhabitants
here
and
one
a
database
in
postgress
and
two
of
services.
The
countries
of
super
-heroes
a
and
then
we're
going
to
have
one
more
functionality
of
them,
skill
that
are
placed
on
top.
C
We
have
graphene
we're
going
to
see
all
the
graphics
allow
it
that
will
do
the
aggregation
of
the
excerpts
that
the
applications
will
me
It's
worth
producing.
It
will
aggregate
and
save
anda,
and
we
Then
we
have
here.
The
radio
has
to
see
what
is
going
to
listen
to
the
messages
inside
the
service
and
another
to
go
to
login.
We
have
a
login
collector.
You
need
in
front
of
what
then
stores
these
Lagos
a
Cassandra,
and
it
is
used
also
put
it
inside
the
grafana.
For
us.
We
see
these
these.
C
A
C
The
elderly
and
with
an
interface
where
we
have
the
openerp
ar
where
we
have
the
fermentation
of
YouTube,
always
with
all
the
temptations,
jax-
rs.
For
definition,
as
you
come
to
us,
we
have
the
iPhone
piá,
generates
a
lot
of
notes
and
has
a
lot
of
code
which
ends
up
hiding
the
business
logic.
If
we
had
everything
in
the
same
class,
so
here
we
chose
to
create
a
good
interface
and
then
the
resources
themselves
will
to
implement
this
interface,
and
it
will
work
as
a
simple
sidibe
that.
C
We
just
don't
feel
anything
Let's
send
a
message
with
this
look
is
from
another
and
we
have
the
database
model
with
quantities
receive
a
and
then
we
have
the
data.
With
its
be,
we
have
a
transformation
layer
between
the
entities
and
the
data.
This
is
yours
because,
for
example,
they
are
the
object
where
we
will
be
just
serves
to
obtain
information
from
the
database
and
that
included
Haiti,
the
name
and
a
description.
But
if
I
create
If
I
just
wanted
to
create
a
new
one,
I
don't
have
the
definition
of
Eyed.
C
So
here
you
will
never
see
a
mistake.
The
person
always
knows
to
create
a
new
minor.
You
only
need
to
know
the
name,
the
description
eagle
automatically
already
after
the
database,
and
you
don't
need
to
be
doing
in
the
landfill,
and
then
we
have
the
remembered
to
talk
about
the
house
check
ready.
This
is
an
implementation
of
Microsoft
Outlook,
in
which
this
is
a
tears.
That
is,
it
will
respond
with.
C
We
have
as
soon
as
possible,
Live
and
will
respond
was
when
this
property
is
done
with
the
wired
microphone,
and
it
will
say
that
the
service
was
like
this.
Oh,
oh
Red,
the
coconut
is
a
rake
and
Shake.
In
this
case
you
used
it
in
which
teams
there
goes
the
database
to
make
a
cell
phone
that
you,
year
after
day,
care.
A
C
A
basic
test
raised:
ask
give
a
Saturday,
they
replied,
everything
is
fine,
I
am
answering
something
else.
It
means
box
any
problem
watch
a
station.
Also.
Someone
say
that
there
is
a
problem
and
the
service
will
be
down.
The
network
will
not
be
available
to
receive
calls
from
abroad
if
it
is
managed
by
a
pro
system.
That
looks
like,
for
example,
later
here
in
our
that
the
service,
not
only
let
me
show
you,
show
you
here,
another
other
feature,
this
damn
fu
llback
are
two
features
of
Marco
profile.
C
Folklore
This
is
the
time-out
means.
If
I
can't
get
the
listing
after
more
than
500
milliseconds,
it
will
call
the
doctor
estimated
fullback.
Fullback
is
here
some
to
this
one
down
here
and
it
will
simply
create
a
one.
Generic
in
the
houses.
A
volume
fails
And.
It
will
return
the
information
for
the
user
to
love
this,
that
only
alternative
in
case
of
gold,
and
that's
it.
Let's
see
the
boot
service
for
that
I'll
go
here.
The
infrastructure
and
I'll
simply
call
the
observability
to
lose,
is
a
command
that
I
I.
Have
it
here
with
alias.
C
Let
me
show
you
have
to
post
your
hidden
ones
here
and
and
this
alias
and
when,
when
I
do
it
only
if
where
in
fact
I
wanted
an
alias,
it
can
be
biblical,
it's
basically
this
room.
It
will
start
docker-compose
with
this
smell
with
this
one.
With
this
one
they're
going
to
start
all
the
services
and
all
the
tools
that
this
service
I
do
a
month
of
or
will
start
the
e
I
could,,
let's
hope,,
do
it
right.
C
C
C
C
And
we
receive
all
the
metrics
that
are
automatically
produced
by
the
micrometer,.
Typically,
they
are
metrics
related
to
the
expression
of
the
jvm
Memory
that
we
asked
for
dos
Leste
instrument
automatically
the
Ratos
RS
a
and
we
then
the
collectors
of
their
metrics
call
the
periodically
accident
points
and
collect
these
metrics,
and
then
we
can
make
graphs
with
evolution
over
time.
We
will
initialize
the
vegetables
database.
I
will
make
a
post
Hi
Aline,
Hi
and
I
added
you.
C
C
Then
you're
working-
it's
because
we
have
it
here.
A
super
carrot
and
a
super
says:
The
chemist
statue,
the
message
was
received
and
it
was
processed
and
it
was
stored
in
a
database
done
This
is
how
we
run
the
code
now.
A
very
different
way
is
the
way
we
see
it.
On
the
on
the
record
on
the
various
components
for
the
Ok,
we
can
observe
the
Logos
of
the
different
services
that
are
gone,
for
example,
to
the
Such
we
have
here
all
the
lines
logo
collected
those.
C
Are
already
in
Joice
important,
each
attribute
has
a
semantic
value.
Has
we
can
search
for
messages
and,
let's
do
a
search
all
present,
a
message
that
you
have?
What
will
be
all
the
fields
of
the
message?
All
the
logs
train
messages,
whatever
you
want.
It
is
much
easier
to
search
than
simply
searching
the
whole
logo
in
an
undifferentiated
way,.
We
can
press
only
the
messages
that
we
see
here,
but
here
we
are
seeing
for
horsetail
block
that
message
and
it
is
much
simpler
to
understand
what
is
happening
with
the
service
started
here
and
here.
C
And
here
we
know
well
what
happened
the
first
and
what
will
happen
later
when
they
are
in
the
same
way,
but
everything
is
very
simpler:
When
we
go,
for
example,
to
Iago,
o
Iago
and
wow
the
way
we
see
the
stresses
and-
and
we
can
come
here
to
the
parents
and
less
what
happens
Yesterday
when
I
made
a
post
for
the
Padfone
Infinity,
which
is
the
prodigy.
So
here
things
are
much
clearer.
There
was
a
call,
autovista
broke
all
this
time
and
then
a
message
came
out
was
sent
by
inhabitant
uncle
and
we
are.
C
A
C
That
I
turn
to,
but
simultaneously
Send
a
message
to
and
traditional
what
I
here
below
here.
Two
things
that
are
immediately
evident
is
how
it
was
the
first
time
that
I
called
these
services.
The
poop.
This
method
is
called
it
takes
much
longer
than
the
second
time.
We
can
also
see
it
here
when
I,
try
to
add
the
first
hero
here
in
another
service.
Here,
Yellow
also
takes
a
lot
longer
than
the
second
time
I
tried
to
add.
C
We
were
able
to
see
every
step
of
the
execution
and
how
long
it
took
And
then,
and
then
we
can
also
see
the
metrics,
a
in
metrics
o
I'm,
going
to
create
a
The
Book
was
all
star
Sports
transport
here
and
I'm,
going
to
import
it
better.
Here,
I
don't
have
any
of
the
ports.
I
can't
see
anything
here,
but
it's
not
not
very
difficult
either
by
the
way.
I
have
this
one
here
But.
C
C
And
to
resist
this,
one
I
think
I
wanted
to
show
how
how
how
to
make
the
import
change.
Generic
sport,
if
you
click,
you
immediately,
have
access
to
graphs
that
are
built
on
top
of
the
metrics
that
we
had
to
collect.
Since
I
started
docker-compose
protect,
we
have
what
the
typical
memory
information
of
the
jvm,
the
cpu
utilization.
C
C
In
the
afternoon
me
I
stopped
the
construction
here
This
this
this
time
there
is
no
data
to
say
that
it
exists
this
this
this
value
without
data
that
later
I
started
it
when
I
knew
a
station
again
and
it
returned
to
happiness
from
there
ready
from
the
various
JBS
metrics.
It
is
still
possible
for
you
to
create
your
own
micrometer
metrics
and
collect
them
and
then
make
your
own
graphs
Well,.
Let's
go,
I,
don't
know
if
there
is
any
question
that
you
want
to
ask,.
B
A
Question,,
what
do
you
know
about
school?
excellent
lecture?
I
thought
it
was
very
cool
how
you
left
From
the
basics
like
this
and
showed
how
to
configure
How
to
configure
the
monitor
part
of
the
monitoring,
the
pain
of
the
observation
ability
using
colors
from
the
specifications
if
and
a
thinks
that
the
Jardim
back
for
us
together
with
grafana
over
there,
is
very
valuable
for
us
Mainly
when
we
need
to
do
work,
shutting
applications.
She
has.
The
most
thing
you
want
is
to
have
that
graph
that
you
just.
A
A
And
not
and
like
that,
in
the
old
days
right
that
old
one,
we
depended
a
lot
on
the
application
server
to
connect
jvm's
doctor
for
these
jmx
people
and
things
so
then,
right,
as
a
change
to
Microsoft,.
Do
you
think
that
even
then,,
not
only
the
people
who
worked
with
food
or
But
developers,,
we
need
to
start
understanding
the
importance
of
this
type
of
doctor,
right?
It's
available
on
the
server,
and
it's
not
the
metrics.
But
the
fact
that
you
have
a
like
Head
and
Shake.
A
C
C
B
A
B
C
B
B
A
Tv
and
we
will
work
to
make
the
event
happen
again
there,
and
so
it
is
very
valuable
to
have
this
little
trek
over
the
years
years
and
having
all
this
available,
also
recorded
for
people
who
can't
watch
Live
are
still
gaining
knowledge,
right,
so
very
cool,
very
cool
already
looking
forward
to
next
year.
Those
who
didn't
come
missed.
It.
C
B
A
A
Well
then,
that's
it
guys!
Thank
you
so
much
we
have
the
subscribers.
There
pass
something
before
it's
there
before
leaving
follow
the
jakarta
one
twitter.
Let
me
send
you
the
link
here
to
you,,
as
we
will
always
keep
updates
of
what
is
to
come
through
this
Twitter
When.
We
have
another
line
in
Portuguese,
but
that's
where
it
will
come
out,
right,
Otávio,,
the
news
And,
of
course,
the
video
that
you
will
send
and
through
our
profiles
too,
but
that's
it
Otávio.
Last
words:
please.