Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All...
Transcript of Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All...
![Page 1: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/1.jpg)
1© 2014 Pivotal Software, Inc. All rights reserved.
Whose Metric is it Anyway
Kira CombsCloud Foundry Logging and Metrics
Denver, CO
![Page 2: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/2.jpg)
2© 2014 Pivotal Software, Inc. All rights reserved.
What you’re in for- Loggregator lesson
- Types of metrics
- Examples of important metrics
- ComponentMetrics app demo
@kicombs
![Page 3: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/3.jpg)
3© 2014 Pivotal Software, Inc. All rights reserved.
Loggregator
- Sources- Metron- Doppler- Traffic Controller
@kicombs
![Page 4: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/4.jpg)
4© 2014 Pivotal Software, Inc. All rights reserved.
Loggregator
@kicombs
![Page 5: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/5.jpg)
5© 2014 Pivotal Software, Inc. All rights reserved.
Firehose (Demo)
@kicombs
![Page 6: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/6.jpg)
6© 2014 Pivotal Software, Inc. All rights reserved.
Types of Metrics
@kicombs
![Page 7: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/7.jpg)
7© 2014 Pivotal Software, Inc. All rights reserved.
HttpStart HttpStop HttpStartStop
Client GoRouter
HTTPStart
Request
Response
HTTPStop
HTTPStartStop
@kicombs
![Page 8: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/8.jpg)
8© 2014 Pivotal Software, Inc. All rights reserved.
Log Events- STDOUT or STDERR
- AppID
- Message
@kicombs
![Page 9: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/9.jpg)
9© 2014 Pivotal Software, Inc. All rights reserved.
Error Event
- Source
- Error Code
- Description
@kicombs
![Page 10: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/10.jpg)
10© 2014 Pivotal Software, Inc. All rights reserved.
Container Metric- App Information
- CPU Percentage- Disk Space- Memory
@kicombs
![Page 11: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/11.jpg)
11© 2014 Pivotal Software, Inc. All rights reserved.
Counter Event Value Metric
- Numerical count- Incremented or
Decremented
- Numerical representation of a value
http://metrics20.org/spec/#units
@kicombs
![Page 12: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/12.jpg)
12© 2014 Pivotal Software, Inc. All rights reserved.
Metric Structure
app_benchmarking.rest_of_time
datadog.nozzle.DopplerServer.TruncatingBuffer.DroppedMessages
datadog.nozzle.DopplerServer.messageRouter.numberOfDumpSinks
datadog.nozzle.routing_api.total_routes
diego.canary.app.instance
datadog.nozzle.router__0.routed_app_requests
@kicombs
![Page 13: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/13.jpg)
13© 2014 Pivotal Software, Inc. All rights reserved.
datadog.nozzle.DopplerServer.TruncatingBuffer.DroppedMessages
Origin
Next traveled to Ended
up at
Final, emitted metric (CounterEvent)
@kicombs
![Page 14: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/14.jpg)
14© 2014 Pivotal Software, Inc. All rights reserved.
Masters of Metrics(Not Really)
@kicombs
![Page 15: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/15.jpg)
15© 2014 Pivotal Software, Inc. All rights reserved.
Metric Logging Tools
APM (please enjoy aworking demo)
@kicombs
![Page 16: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/16.jpg)
16© 2014 Pivotal Software, Inc. All rights reserved.
Metric Logging Tools
Datadog
@kicombs
![Page 17: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/17.jpg)
17© 2014 Pivotal Software, Inc. All rights reserved.
Some Interesting Metrics
@kicombs
![Page 18: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/18.jpg)
18© 2014 Pivotal Software, Inc. All rights reserved.
Reservable Stagers
(cf.collector.reservable_stagers)
@kicombs
![Page 19: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/19.jpg)
19© 2014 Pivotal Software, Inc. All rights reserved.
Log Message Marshalled
(datadog.nozzle.MetronAgent.dropsondeMarshaller.logMessageMarshalled)
@kicombs
![Page 20: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/20.jpg)
20© 2014 Pivotal Software, Inc. All rights reserved.
CPU Percentage(bosh.healthmonitor.system.cpu.user)
@kicombs
![Page 21: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/21.jpg)
21© 2014 Pivotal Software, Inc. All rights reserved.
Router Bad Requests
(cf.collector.router.bad_requests)
@kicombs
![Page 22: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/22.jpg)
22© 2014 Pivotal Software, Inc. All rights reserved.
Demo (ComponentMetrics)
@kicombs
![Page 23: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/23.jpg)
23© 2014 Pivotal Software, Inc. All rights reserved.
Questions?
@kicombs
![Page 24: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/24.jpg)
24© 2014 Pivotal Software, Inc. All rights reserved.
Thank You
Kira Combs
PCF Denver, CO
@kicombs
@kicombs
We are hiring!! (London and Berlin)pivotal.io/careers
![Page 25: Denver, CO Cloud Foundry Logging and Metrics Kira Combs · © 2014 Pivotal Software, Inc. All rights reserved. 1 Whose Metric is it Anyway Kira Combs Cloud Foundry Logging and Metrics](https://reader036.fdocuments.in/reader036/viewer/2022090607/605c8126c0acf95c3b5ec149/html5/thumbnails/25.jpg)
25© 2014 Pivotal Software, Inc. All rights reserved.
Additional Resources
- Hiring: http://pivotal.io/careers- Metric Types: https://github.com/cloudfoundry/dropsonde-
protocol/tree/master/events- Value Metric Units: http://metrics20.org/spec/#units- Cloud Foundry Release: https://github.com/cloudfoundry/cf-release- Loggregator: https://github.com/cloudfoundry/loggregator- Firehose Metrics Catalog: https://github.
com/cloudfoundry/loggregator/wiki/Firehose-Metric-Catalog- (other wiki pages contain more component-specific metrics)- Not a complete resource