O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

Enabling .NET Apps with Monitoring and Management Using Steeltoe

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio

Vídeos do YouTube não são mais aceitos pelo SlideShare

Visualizar original no YouTube

Enabling .NET Applications with
Monitoring and Management
By Dave Tillman
Pivotal
Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons
Att...
Carregando em…3
×

Confira estes a seguir

1 de 11 Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a Enabling .NET Apps with Monitoring and Management Using Steeltoe (20)

Anúncio

Mais de VMware Tanzu (20)

Mais recentes (20)

Anúncio

Enabling .NET Apps with Monitoring and Management Using Steeltoe

  1. 1. Enabling .NET Applications with Monitoring and Management By Dave Tillman Pivotal
  2. 2. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Outline Introduction Cloud Native Frameworks – Java & .NET Monitoring and Management – Java & .NET M&M’s Demo – Java & .NET Application
  3. 3. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud - Cloud Native Java Enabling Cloud Native Applications on Cloud FoundryFacilitates Twelve-Factor Contract Powered by Netflix OSS Spring Cloud •Spring Cloud Services (SCS) • Built on Spring Boot & Spring Cloud and simplifies development of distributed microservice-style architectures by implementing proven patterns to bring resilience, reliability, and coordination to your microservices. • Packaged for PCF customers giving them a turnkey, secure solution for production operations of these infrastructure patterns—service registry, config server, and circuit breaker dashboard. • More info: https://projects.spring.io/
  4. 4. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Steeltoe - Cloud Native .NET •Simplifies using .NET & ASP.NET on Cloud Foundry • Connectors (e.g. MySql, Redis, Postgres, RabbitMQ, OAuth, SqlServer etc.) • Security providers (e.g. OAuth SSO, JWT, Redis KeyRing Storage, etc.) • Configuration providers (e.g. Cloud Foundry) • Management Endpoints •Simplifies using Spring Cloud • Configuration (e.g. Config Server, etc.) • Service Discovery (e.g. Netflix Eureka, etc.) • Circuit Breaker (e.g. Netflix Hystrix) • Distributed Tracing (e.g. OpenCensus, etc.) Enabling Cloud Native Applications on Cloud FoundryFacilitates Twelve-Factor Contract Steeltoe •Open Source • https://github.com/SteeltoeOSS • http://steeltoe.io/docs/ • https://slack.steeltoe.io/ •Supports • .NET Core & .NET Full Framework • ASP.NET Core & ASP.NET 4.x • Windows, Linux & OSX
  5. 5. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ M&Ms - Developer Tools for Monitoring & Management Management Endpoints – REST endpoints for monitoring & managing your apps • Spring Boot Actuators - Java • Steeltoe Actuators - .NET Application Metrics – capture application and runtime performance data • Spring Boot Actuators/Micrometer & Exporters - Java • Steeltoe OpenCensus & Exporters - .NET Distributed Tracing – capture and correlate application traces in a distributed system • Spring Cloud Sleuth - Java • Steeltoe OpenCensus & Exporters - .NET Hystrix Circuits – capture circuit (external dependency) status and performance data • Spring Cloud Hystrix - Java • Steeltoe Hystrix - .NET OpenCensus – Google OSS project for Metrics and Distributed Tracing
  6. 6. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ M&M - Management Endpoints Using • Java – use spring-boot-starter-actuator dependency • .NET Core – use Steeltoe.Management.CloudFoundryCore NuGet • .NET 4.X – use Steeltoe.Management.EndpointWeb or .EndpointOwin NuGet Features – Java & .NET • Easily expose management REST endpoints which integrate with Pivotal Apps Manager • /info - arbitrary app info, e.g. git build tag • /health – detailed application health information • /trace - circular buffer of last 100 http requests/responses • /loggers - show and dynamically modify configuration level (e.g. DEBUG, INFO, WARN, etc.) of loggers • /mappings – show exposed routes (e.g. REST endpoints) in app • /dump - perform thread dump (.NET - Windows only) • /heapdump – return a gzip compressed dump file (.NET - Windows only) • Expose additional endpoints accessible via REST calls ( not integrated with Pivotal Apps Manager) • /env - expose app configuration key value pairs • /reload - cause applications configuration to be reloaded • /metrics - expose system and app metrics
  7. 7. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ M&M - Application Metrics Using • Java – use spring-boot-starter-actuator dependency • .NET Core – use Steeltoe.Management.EndpointCore NuGet • .NET 4.X – use Steeltoe.Management.EndpointWeb or .EndpointOwin NuGet Features – Java & .NET • Metrics exposed via HTTP Rest endpoint - /metrics • System runtime (e.g. JVM, CLR) metrics automatically captured • App metrics automatically captured for common (.NET - ASP.NET & HTTPClient) ingress and egress points • Optionally instrument your app yourself (Java – Spring Boot APIs, .NET – OpenCensus APIs) Optionally enable metrics exporting to backend metrics system • Java – on Cloud Foundry, build pack adds Spring Boot Metrics Forwarder writer • .NET Core - add Steeltoe.Management.ExporterCore • .NET 4.X - add Steeltoe.Management.ExporterBase • Metrics Forwarder for PCF supported
  8. 8. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ M&M - Distributed Tracing Using • Java – add spring-cloud-starter-sleuth dependency • .NET Core – add Steeltoe.Management.TracingCore NuGet Features – Java & .NET • Adds trace and span ids to log output – [appName, traceid, spanid, exported] • Facilitates log correlation • Automatic instrumentation of common (.NET - ASP.NET & HTTPClient) ingress and egress points • Automatic propagation of trace context to other processes • Optionally instrument your app yourself (Java – Brave/Zipkin APIs, .NET – OpenCensus APIs) Optionally enable trace exporting to backend tracing system • Java – add spring-cloud-starter-zipkin • .NET – add Steeltoe.Management.ExporterCore
  9. 9. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ M&M – Hystrix Circuits Using • Java – use spring-cloud-services-starter-circuit-breaker dependency • .NET Core – use Steeltoe.CircuitBreaker.HystrixCore and Steeltoe.CircuitBreaker.Hystrix.MetricsStreamCore Features – Java & .NET • Latency and fault tolerance library designed to isolate points of access to remote systems • Leverage bulkhead, circuit breaker patterns to limit the app impact of any one dependency • Circuit usage & status captured automatically • Thread pool usage • Error percentages • Integrates with Spring Cloud Services Hystrix dashboard on PCF • Bind Hystrix dashboard service instance to application
  10. 10. Unless otherwise indicated, these slides are © 2013 -2018 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ mySQL mySQL Demo ShoppingCart (Java) OrderProcess (.NET) PayProcess (Java) /checkout /process-order /charge-card /info /health /trace /loggers /dump /heapdump /mappings /info /health /trace /loggers /dump /heapdump /mapping /info /health /trace /loggers /dump /heapdump /mappings Hystrix Dashboard PCF Apps Manager PCF Metrics Circuit status & metrics Zipkin Server Distributed Traces Log viewing and correlation App & runtime metrics M&M Endpoint views mySQL

×