SlideShare a Scribd company logo
Monitoring Cloud Foundry:
Learning about the Firehose
Dustin Ruehle
Cloud Architect, ECS Team
@dustinruehle, druehle@ecsteam.com
Tom Collings
Cloud Architect, ECS Team
tcollings@ecsteam.comWednesday May 25, 2016
Welcome to Cloud foundry
Cloud	Native	Developers
Welcome to Cloud foundry
Cloud	Native	Developers
Apps
Welcome to Cloud foundry
CONTINUOUS	DELIVERY	PIPELINE	(TESTING,	BUILD	AND	RELEASE	AUTOMATION)
NON-PROD	CLOUD	FOUNDRY PROD	CLOUD	FOUNDRY
Cloud	Native	Developers
Apps
CI/CD	Pipeline
Does it feel more like….
Does it feel more like….Welcome to the Jungle
What’s the health of my platform?
How do I get statistics on
what’s been happening?
How are my apps doing?
The “Loggregator” to the rescue
How do metrics and logs get to the firehose…
Sources
How do metrics and logs get to the firehose…
Sources Metron
Agents
How do metrics and logs get to the firehose…
Sources Metron
Agents
Dopplers
How do metrics and logs get to the firehose…
Sources Metron
Agents
Dopplers Traffic
Controllers
There it is…. the firehose
Sources Metron
Agents
Dopplers
firehose
Traffic
Controllers
Make your choice…
Sources Metron
Agents
Dopplers
firehose
Traffic
Controllers
Firehose – just a multiplexer
Sources Metron
Agents
Dopplers
firehose
Traffic
Controllers
dropsonde
What are the other ”logging points”?
Job
syslog
System
Events
App
drain
App
Events
Syslog Aggregator
(Splunk, ELK)
firehose
Loggregator Roadmap
What are the other ”logging points”?
Job
syslog
System
Events
App
drain
App
Events
Syslog Aggregator
(Splunk, ELK)
cf logs myapp
firehose
Firehose - Let’s take a look…. ZERO app activity!
Firehose - Did that feel like…
Firehose - How much was that?
Cloud Foundry
bosh-lite
19 “VMs” 60 seconds
firehose
Firehose - How much was that?
Cloud Foundry
bosh-lite
19 “VMs”
firehose
How do I consume this firehose?
Cloud Foundry
firehose
How do I consume this firehose?
Cloud Foundry
firehose
Required for connecting to the firehose
Cloud Foundry
bosh-lite
firehose
websocket
endpoint
Requires user with
firehose.doppler scope
doppler endpoint
wss://doppler.bosh-lite.com:4443
Required for connecting to the firehose
Cloud Foundry
bosh-lite
firehose
websocket
endpoint
Requires user with
firehose.doppler scope
doppler endpoint
wss://doppler.bosh-lite.com:4443
discoverable via api
/v2/info
What now?....events
Cloud Foundry
firehose
dropsonde
• Envelopes containing events
• Envelopes come from the
traffic controller
What now?....events
Cloud Foundry
firehose
dropsonde
Unmarshall from protocol buffers
What now?....events
Cloud Foundry
firehose
dropsonde
• Event types
• HttpStart
• HttpStop
• HttpStartStop
• LogMessage
• ValueMetric
• CounterEvent
• Error
• ContainerMetric
More details - https://github.com/cloudfoundry/dropsonde-protocol/blob/master/events/README.md
Nozzle lifecycle options
Cloud Foundry
firehose
bosh deployment
cf app
cf plugin
Nozzle examples
bosh deployment
cf app
cf plugin
https://docs.cloudfoundry.org/loggregator/nozzle-tutorial.html
NOAA nozzle – https://github.com/cloudfoundry/noaa
Firehose-to-syslog –
https://github.com/cloudfoundry-community/firehose-to-syslog
Firehose plugin– https://github.com/cloudfoundry/firehose-plugin
Let’s look at an example message or two….
cf logs spring-music
cf nozzle --filter LogMessage
One of these things is not like the other…
cf logs spring-music
cf nozzle --filter LogMessage
Here is an app log message…
cf logs spring-music
cf nozzle --filter LogMessage
App guid in the firehose
Here is an app log message…
cf logs spring-music
cf nozzle --filter LogMessage
What happens when doing blue-green deploys?
Here is an app log message…
cf logs spring-music
cf nozzle --filter LogMessage
What happens when doing blue-green deploys?
Resolved using firehose-to-syslog nozzle
Injects the app name into the nozzle output
A novel use case – feedback control loops
Feedback control demo – Memory based auto-scaling
memory-based-autoscaler nozzle (cf app)
firehose
Cloud
Foundry
bosh-lite
Feedback control demo – Memory based auto-scaling
memory-based-autoscaler nozzle (cf app)
firehose
Cloud
Foundry
bosh-lite ContainerMetric events
for dummy app
Feedback control demo – Memory based auto-scaling
memory-based-autoscaler nozzle (cf app)
firehose
Cloud
Foundry
bosh-lite Average memory for all
instances exceeds a
threshold for specified
duration
Feedback control demo – Memory based auto-scaling
memory-based-autoscaler nozzle (cf app)
firehose
Cloud
Foundry
bosh-lite cf scale using the cf API
Demo
Where can I get “the code”?
Memory auto-scaler
https://github.com/ECSTeam/memory-based-autoscaler
Memory user
https://github.com/ECSTeam/memory-user
For more information….
•Come by the ECS Team booth – we’ll talk firehose madness
•Register to win
• Amazon Echo
• Garmin Vivosmart
•Drawing to win – 3:20pm today (5/25/2016)

More Related Content

What's hot

Implementing a Backup Catalog… on a Student Budget
Implementing a Backup Catalog… on a Student BudgetImplementing a Backup Catalog… on a Student Budget
Implementing a Backup Catalog… on a Student Budget
Roy Zimmer
 
Lettuce example using simple scenario
Lettuce example using simple scenarioLettuce example using simple scenario
Lettuce example using simple scenario
Karen Wiznia
 
Count downlatch & implementation
Count downlatch & implementationCount downlatch & implementation
Count downlatch & implementation
Isaac Liao
 
Nika it consulting weekly update
Nika it consulting weekly update  Nika it consulting weekly update
Nika it consulting weekly update
Rod Delwar
 
2012 07 making disqus realtime@euro python
2012 07 making disqus realtime@euro python2012 07 making disqus realtime@euro python
2012 07 making disqus realtime@euro python
Adam Hitchcock
 
New sendfile
New sendfileNew sendfile
New sendfile
Gleb Smirnoff
 
"Enabling Googley microservices with gRPC." at Devoxx France 2017
"Enabling Googley microservices with gRPC." at Devoxx France 2017"Enabling Googley microservices with gRPC." at Devoxx France 2017
"Enabling Googley microservices with gRPC." at Devoxx France 2017
Alex Borysov
 
Stream Puzzlers – Traps and Pitfalls in Using Java 8 Streams
Stream Puzzlers – Traps and Pitfalls in Using Java 8 Streams Stream Puzzlers – Traps and Pitfalls in Using Java 8 Streams
Stream Puzzlers – Traps and Pitfalls in Using Java 8 Streams
langer4711
 
Reactive Extensions
Reactive ExtensionsReactive Extensions
Reactive Extensions
Dmitri Nesteruk
 
2014.09.04 federated ground segments - toulouse
2014.09.04   federated ground segments - toulouse2014.09.04   federated ground segments - toulouse
2014.09.04 federated ground segments - toulouse
Gasperi Jerome
 
Continual Delivery with Maven Microrepos
Continual Delivery with Maven MicroreposContinual Delivery with Maven Microrepos
Continual Delivery with Maven Microrepos
jgcloudbees
 
JCConf 2016 - Dataflow Workshop Labs
JCConf 2016 - Dataflow Workshop LabsJCConf 2016 - Dataflow Workshop Labs
JCConf 2016 - Dataflow Workshop Labs
Simon Su
 
Puppet at Spotify (stockholm)
Puppet at Spotify (stockholm)Puppet at Spotify (stockholm)
Puppet at Spotify (stockholm)
Puppet
 
How to extract information from text with Semgrex
How to extract information from text with SemgrexHow to extract information from text with Semgrex
How to extract information from text with Semgrex
Viktor Turskyi
 
Barbara Nelson [InfluxData] | How Can I Put That Dashboard in My App? | Influ...
Barbara Nelson [InfluxData] | How Can I Put That Dashboard in My App? | Influ...Barbara Nelson [InfluxData] | How Can I Put That Dashboard in My App? | Influ...
Barbara Nelson [InfluxData] | How Can I Put That Dashboard in My App? | Influ...
InfluxData
 
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat
 

What's hot (16)

Implementing a Backup Catalog… on a Student Budget
Implementing a Backup Catalog… on a Student BudgetImplementing a Backup Catalog… on a Student Budget
Implementing a Backup Catalog… on a Student Budget
 
Lettuce example using simple scenario
Lettuce example using simple scenarioLettuce example using simple scenario
Lettuce example using simple scenario
 
Count downlatch & implementation
Count downlatch & implementationCount downlatch & implementation
Count downlatch & implementation
 
Nika it consulting weekly update
Nika it consulting weekly update  Nika it consulting weekly update
Nika it consulting weekly update
 
2012 07 making disqus realtime@euro python
2012 07 making disqus realtime@euro python2012 07 making disqus realtime@euro python
2012 07 making disqus realtime@euro python
 
New sendfile
New sendfileNew sendfile
New sendfile
 
"Enabling Googley microservices with gRPC." at Devoxx France 2017
"Enabling Googley microservices with gRPC." at Devoxx France 2017"Enabling Googley microservices with gRPC." at Devoxx France 2017
"Enabling Googley microservices with gRPC." at Devoxx France 2017
 
Stream Puzzlers – Traps and Pitfalls in Using Java 8 Streams
Stream Puzzlers – Traps and Pitfalls in Using Java 8 Streams Stream Puzzlers – Traps and Pitfalls in Using Java 8 Streams
Stream Puzzlers – Traps and Pitfalls in Using Java 8 Streams
 
Reactive Extensions
Reactive ExtensionsReactive Extensions
Reactive Extensions
 
2014.09.04 federated ground segments - toulouse
2014.09.04   federated ground segments - toulouse2014.09.04   federated ground segments - toulouse
2014.09.04 federated ground segments - toulouse
 
Continual Delivery with Maven Microrepos
Continual Delivery with Maven MicroreposContinual Delivery with Maven Microrepos
Continual Delivery with Maven Microrepos
 
JCConf 2016 - Dataflow Workshop Labs
JCConf 2016 - Dataflow Workshop LabsJCConf 2016 - Dataflow Workshop Labs
JCConf 2016 - Dataflow Workshop Labs
 
Puppet at Spotify (stockholm)
Puppet at Spotify (stockholm)Puppet at Spotify (stockholm)
Puppet at Spotify (stockholm)
 
How to extract information from text with Semgrex
How to extract information from text with SemgrexHow to extract information from text with Semgrex
How to extract information from text with Semgrex
 
Barbara Nelson [InfluxData] | How Can I Put That Dashboard in My App? | Influ...
Barbara Nelson [InfluxData] | How Can I Put That Dashboard in My App? | Influ...Barbara Nelson [InfluxData] | How Can I Put That Dashboard in My App? | Influ...
Barbara Nelson [InfluxData] | How Can I Put That Dashboard in My App? | Influ...
 
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
 

Similar to Monitoring Cloud Foundry: Learning about the Firehose

Monitoring in 2017 - TIAD Camp Docker
Monitoring in 2017 - TIAD Camp DockerMonitoring in 2017 - TIAD Camp Docker
Monitoring in 2017 - TIAD Camp Docker
The Incredible Automation Day
 
Running in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectRunning in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure project
Maarten Balliauw
 
Running in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectRunning in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure project
Maarten Balliauw
 
Kubecon SIG Apps December 2017 Update
Kubecon SIG Apps December 2017 UpdateKubecon SIG Apps December 2017 Update
Kubecon SIG Apps December 2017 Update
Matthew Farina
 
RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016
Tom Boucher
 
What is the Secure Supply Chain and the Current State of the PHP Ecosystem
What is the Secure Supply Chain and the Current State of the PHP EcosystemWhat is the Secure Supply Chain and the Current State of the PHP Ecosystem
What is the Secure Supply Chain and the Current State of the PHP Ecosystem
sparkfabrik
 
DevOps with Serverless
DevOps with ServerlessDevOps with Serverless
DevOps with Serverless
Yan Cui
 
How to build observability into a serverless application
How to build observability into a serverless applicationHow to build observability into a serverless application
How to build observability into a serverless application
Yan Cui
 
Cloudfoundry Introduction
Cloudfoundry IntroductionCloudfoundry Introduction
Cloudfoundry Introduction
Tushar Dadlani
 
Azure Container Services​
Azure Container Services​Azure Container Services​
Azure Container Services​
Pedro Sousa
 
How to build observability into a serverless application
How to build observability into a serverless applicationHow to build observability into a serverless application
How to build observability into a serverless application
Yan Cui
 
Yan Cui - How to build observability into a serverless application - Codemoti...
Yan Cui - How to build observability into a serverless application - Codemoti...Yan Cui - How to build observability into a serverless application - Codemoti...
Yan Cui - How to build observability into a serverless application - Codemoti...
Codemotion
 
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
Microservices Application Tracing Standards and Simulators - Adrians at OSCONMicroservices Application Tracing Standards and Simulators - Adrians at OSCON
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
Adrian Cockcroft
 
Serverless in Production, an experience report (AWS UG South Wales)
Serverless in Production, an experience report (AWS UG South Wales)Serverless in Production, an experience report (AWS UG South Wales)
Serverless in Production, an experience report (AWS UG South Wales)
Yan Cui
 
Serverless in production, an experience report (IWOMM)
Serverless in production, an experience report (IWOMM)Serverless in production, an experience report (IWOMM)
Serverless in production, an experience report (IWOMM)
Yan Cui
 
Cloud Native Computing: What does it mean, and is your app Cloud Native?
Cloud Native Computing: What does it mean, and is your app Cloud Native?Cloud Native Computing: What does it mean, and is your app Cloud Native?
Cloud Native Computing: What does it mean, and is your app Cloud Native?
Michael O'Sullivan
 
Trajectory 2022 - Shifting Cloud Native Observability to the Left
Trajectory 2022 - Shifting Cloud Native Observability to the LeftTrajectory 2022 - Shifting Cloud Native Observability to the Left
Trajectory 2022 - Shifting Cloud Native Observability to the Left
Eric D. Schabell
 
Serverless in production, an experience report (FullStack 2018)
Serverless in production, an experience report (FullStack 2018)Serverless in production, an experience report (FullStack 2018)
Serverless in production, an experience report (FullStack 2018)
Yan Cui
 
Live Transcript Delivery
Live Transcript DeliveryLive Transcript Delivery
Live Transcript Delivery
Grzegorz Kolpuc
 
CF Summit North America 2017 - Technical Keynote
CF Summit North America 2017 - Technical KeynoteCF Summit North America 2017 - Technical Keynote
CF Summit North America 2017 - Technical Keynote
Chip Childers
 

Similar to Monitoring Cloud Foundry: Learning about the Firehose (20)

Monitoring in 2017 - TIAD Camp Docker
Monitoring in 2017 - TIAD Camp DockerMonitoring in 2017 - TIAD Camp Docker
Monitoring in 2017 - TIAD Camp Docker
 
Running in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectRunning in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure project
 
Running in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectRunning in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure project
 
Kubecon SIG Apps December 2017 Update
Kubecon SIG Apps December 2017 UpdateKubecon SIG Apps December 2017 Update
Kubecon SIG Apps December 2017 Update
 
RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016
 
What is the Secure Supply Chain and the Current State of the PHP Ecosystem
What is the Secure Supply Chain and the Current State of the PHP EcosystemWhat is the Secure Supply Chain and the Current State of the PHP Ecosystem
What is the Secure Supply Chain and the Current State of the PHP Ecosystem
 
DevOps with Serverless
DevOps with ServerlessDevOps with Serverless
DevOps with Serverless
 
How to build observability into a serverless application
How to build observability into a serverless applicationHow to build observability into a serverless application
How to build observability into a serverless application
 
Cloudfoundry Introduction
Cloudfoundry IntroductionCloudfoundry Introduction
Cloudfoundry Introduction
 
Azure Container Services​
Azure Container Services​Azure Container Services​
Azure Container Services​
 
How to build observability into a serverless application
How to build observability into a serverless applicationHow to build observability into a serverless application
How to build observability into a serverless application
 
Yan Cui - How to build observability into a serverless application - Codemoti...
Yan Cui - How to build observability into a serverless application - Codemoti...Yan Cui - How to build observability into a serverless application - Codemoti...
Yan Cui - How to build observability into a serverless application - Codemoti...
 
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
Microservices Application Tracing Standards and Simulators - Adrians at OSCONMicroservices Application Tracing Standards and Simulators - Adrians at OSCON
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
 
Serverless in Production, an experience report (AWS UG South Wales)
Serverless in Production, an experience report (AWS UG South Wales)Serverless in Production, an experience report (AWS UG South Wales)
Serverless in Production, an experience report (AWS UG South Wales)
 
Serverless in production, an experience report (IWOMM)
Serverless in production, an experience report (IWOMM)Serverless in production, an experience report (IWOMM)
Serverless in production, an experience report (IWOMM)
 
Cloud Native Computing: What does it mean, and is your app Cloud Native?
Cloud Native Computing: What does it mean, and is your app Cloud Native?Cloud Native Computing: What does it mean, and is your app Cloud Native?
Cloud Native Computing: What does it mean, and is your app Cloud Native?
 
Trajectory 2022 - Shifting Cloud Native Observability to the Left
Trajectory 2022 - Shifting Cloud Native Observability to the LeftTrajectory 2022 - Shifting Cloud Native Observability to the Left
Trajectory 2022 - Shifting Cloud Native Observability to the Left
 
Serverless in production, an experience report (FullStack 2018)
Serverless in production, an experience report (FullStack 2018)Serverless in production, an experience report (FullStack 2018)
Serverless in production, an experience report (FullStack 2018)
 
Live Transcript Delivery
Live Transcript DeliveryLive Transcript Delivery
Live Transcript Delivery
 
CF Summit North America 2017 - Technical Keynote
CF Summit North America 2017 - Technical KeynoteCF Summit North America 2017 - Technical Keynote
CF Summit North America 2017 - Technical Keynote
 

Recently uploaded

National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 

Recently uploaded (20)

National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 

Monitoring Cloud Foundry: Learning about the Firehose

  • 1. Monitoring Cloud Foundry: Learning about the Firehose Dustin Ruehle Cloud Architect, ECS Team @dustinruehle, druehle@ecsteam.com Tom Collings Cloud Architect, ECS Team tcollings@ecsteam.comWednesday May 25, 2016
  • 2. Welcome to Cloud foundry Cloud Native Developers
  • 3. Welcome to Cloud foundry Cloud Native Developers Apps
  • 4. Welcome to Cloud foundry CONTINUOUS DELIVERY PIPELINE (TESTING, BUILD AND RELEASE AUTOMATION) NON-PROD CLOUD FOUNDRY PROD CLOUD FOUNDRY Cloud Native Developers Apps CI/CD Pipeline
  • 5. Does it feel more like….
  • 6. Does it feel more like….Welcome to the Jungle What’s the health of my platform? How do I get statistics on what’s been happening? How are my apps doing?
  • 8. How do metrics and logs get to the firehose… Sources
  • 9. How do metrics and logs get to the firehose… Sources Metron Agents
  • 10. How do metrics and logs get to the firehose… Sources Metron Agents Dopplers
  • 11. How do metrics and logs get to the firehose… Sources Metron Agents Dopplers Traffic Controllers
  • 12. There it is…. the firehose Sources Metron Agents Dopplers firehose Traffic Controllers
  • 13. Make your choice… Sources Metron Agents Dopplers firehose Traffic Controllers
  • 14. Firehose – just a multiplexer Sources Metron Agents Dopplers firehose Traffic Controllers dropsonde
  • 15. What are the other ”logging points”? Job syslog System Events App drain App Events Syslog Aggregator (Splunk, ELK) firehose Loggregator Roadmap
  • 16. What are the other ”logging points”? Job syslog System Events App drain App Events Syslog Aggregator (Splunk, ELK) cf logs myapp firehose
  • 17. Firehose - Let’s take a look…. ZERO app activity!
  • 18. Firehose - Did that feel like…
  • 19. Firehose - How much was that? Cloud Foundry bosh-lite 19 “VMs” 60 seconds firehose
  • 20. Firehose - How much was that? Cloud Foundry bosh-lite 19 “VMs” firehose
  • 21. How do I consume this firehose? Cloud Foundry firehose
  • 22. How do I consume this firehose? Cloud Foundry firehose
  • 23. Required for connecting to the firehose Cloud Foundry bosh-lite firehose websocket endpoint Requires user with firehose.doppler scope doppler endpoint wss://doppler.bosh-lite.com:4443
  • 24. Required for connecting to the firehose Cloud Foundry bosh-lite firehose websocket endpoint Requires user with firehose.doppler scope doppler endpoint wss://doppler.bosh-lite.com:4443 discoverable via api /v2/info
  • 25. What now?....events Cloud Foundry firehose dropsonde • Envelopes containing events • Envelopes come from the traffic controller
  • 27. What now?....events Cloud Foundry firehose dropsonde • Event types • HttpStart • HttpStop • HttpStartStop • LogMessage • ValueMetric • CounterEvent • Error • ContainerMetric More details - https://github.com/cloudfoundry/dropsonde-protocol/blob/master/events/README.md
  • 28. Nozzle lifecycle options Cloud Foundry firehose bosh deployment cf app cf plugin
  • 29. Nozzle examples bosh deployment cf app cf plugin https://docs.cloudfoundry.org/loggregator/nozzle-tutorial.html NOAA nozzle – https://github.com/cloudfoundry/noaa Firehose-to-syslog – https://github.com/cloudfoundry-community/firehose-to-syslog Firehose plugin– https://github.com/cloudfoundry/firehose-plugin
  • 30. Let’s look at an example message or two…. cf logs spring-music cf nozzle --filter LogMessage
  • 31. One of these things is not like the other… cf logs spring-music cf nozzle --filter LogMessage
  • 32. Here is an app log message… cf logs spring-music cf nozzle --filter LogMessage App guid in the firehose
  • 33. Here is an app log message… cf logs spring-music cf nozzle --filter LogMessage What happens when doing blue-green deploys?
  • 34. Here is an app log message… cf logs spring-music cf nozzle --filter LogMessage What happens when doing blue-green deploys? Resolved using firehose-to-syslog nozzle Injects the app name into the nozzle output
  • 35. A novel use case – feedback control loops
  • 36. Feedback control demo – Memory based auto-scaling memory-based-autoscaler nozzle (cf app) firehose Cloud Foundry bosh-lite
  • 37. Feedback control demo – Memory based auto-scaling memory-based-autoscaler nozzle (cf app) firehose Cloud Foundry bosh-lite ContainerMetric events for dummy app
  • 38. Feedback control demo – Memory based auto-scaling memory-based-autoscaler nozzle (cf app) firehose Cloud Foundry bosh-lite Average memory for all instances exceeds a threshold for specified duration
  • 39. Feedback control demo – Memory based auto-scaling memory-based-autoscaler nozzle (cf app) firehose Cloud Foundry bosh-lite cf scale using the cf API
  • 40. Demo
  • 41. Where can I get “the code”? Memory auto-scaler https://github.com/ECSTeam/memory-based-autoscaler Memory user https://github.com/ECSTeam/memory-user
  • 42. For more information…. •Come by the ECS Team booth – we’ll talk firehose madness •Register to win • Amazon Echo • Garmin Vivosmart •Drawing to win – 3:20pm today (5/25/2016)