Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

I am Leonardo Di Donato ,

Slide 3

Slide 3 text

OBSERVABILITY insights deductions ongoing blackbox data fine-grained MONITORING on just any data garbage Data lake Another really cool buzzword is TRACING. Execution path along the code. Impacts runtime performances. Usually disabled or sampled.

Slide 4

Slide 4 text

Slide 5

Slide 5 text

“ observability

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Towards OpenMetrics.

Slide 8

Slide 8 text

AFTER PROMETHEUS BEFORE PROMETHEUS Metrics?

Slide 9

Slide 9 text

● ● ● ● ● ●

Slide 10

Slide 10 text

● ● ⛱ ● ● ● ● ●

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

New metric types ● counter ● gauge ● histogram ● summary ● untyped → unknown ● state set ● info ● gauge histogram Format ● ● ● Exemplars A normal sample line but without the metric name. A space after the value (or timestamp if present), a hash sign, a space and then the exemplar. Histogram buckets can have them!

Slide 13

Slide 13 text

Prometheus OpenMetrics # TYPE foo histogram foo_bucket{le="0.01"} 0 foo_bucket{le="0.1"} 8 # {} 0.054 foo_bucket{le="1"} 10 # {id="9856e"} 0.67 foo_bucket{le="10"} 17 # {id="12fa8"} 9.8 1520879607.789 ...

Slide 14

Slide 14 text

→ →

Slide 15

Slide 15 text

Berkeley Packet Filters

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

Why don’t we make BPF programs look more YAML ✌

Slide 19

Slide 19 text

Did y’all say

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Custom resources store retrieve structured data Controllers continuously trying Shared informers watches shared state workqueue

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Doing all the BPF things, with YAML

Slide 24

Slide 24 text

# HELP test_packets Data coming from packets BPF map # TYPE test_packets counter test_packets{key="00002",node="127.0.0.1"} 1 test_packets{key="00006",node="127.0.0.1"} 551 test_packets{key="00008",node="127.0.0.1"} 1 test_packets{key="00017",node="127.0.0.1"} 15930 test_packets{key="00089",node="127.0.0.1"} 9 test_packets{key="00233",node="127.0.0.1"} 1 bfptools/kube-bpf

Slide 25

Slide 25 text

Any questions?

Slide 26

Slide 26 text

● ● ●