and prometheus to play nicely the uninstrumentable; getting … · 2020-06-03 · dan rathbone...

23
DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark and Prometheus to Play Nicely

Upload: others

Post on 24-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017

The Uninstrumentable; Getting Apache Spark and Prometheus to Play Nicely

Page 2: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

2

Page 3: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark
Page 4: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark
Page 5: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

● Healthcare data processing system using Apache PySpark

● Failed attempts and the crazy ideas that followed

● Actually working with lots of pretty graphs

Page 6: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

6

Page 7: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

https://cwiki.apache.org/confluence/display/SPARK/PySpark+Internals7

Page 8: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

8https://cwiki.apache.org/confluence/display/SPARK/PySpark+Internals

Page 9: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

“Occasionally you will need to monitor components which cannot be scraped. They might live behind a firewall, or they might be too short-lived to expose data reliably via the pull model. The Prometheus Pushgateway allows you to push time series from these components to an intermediary job which Prometheus can scrape.”

9

Page 10: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

10

“The Pushgateway is explicitly not an aggregator or distributed counter but rather a metrics cache”

Page 11: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

11

Page 12: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

12

Page 13: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark
Page 14: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

14

Page 15: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

15

Page 16: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

16

Page 17: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark
Page 18: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark
Page 19: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark
Page 20: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark
Page 21: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark
Page 22: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

● Realtime is worth the effort, visibility is key

● Nothing’s uninstrumentable

● The solution is often quite simple

● Prometheus is pretty flexible

Page 23: and Prometheus to Play Nicely The Uninstrumentable; Getting … · 2020-06-03 · DAN RATHBONE & JOE STRINGER PROMCON 2017, AUGUST 2017 The Uninstrumentable; Getting Apache Spark

JOE STRINGER

@joeds13

DAN RATHBONE

@thetrilemma

www.infinityworks.com