Simple Microservice

git submodule init

git submodule update

dotnet new -i templates/micro-job

dotnet new -i templates/micro-basic

Micro-job

Micro-basic

dotnet new micro-basic --name micro-simple -o micro-simple
dotnet restore

dotnet build

dotnet run 5000

Hosting

Health Check

Health Check

  • inform the world
    that the service is healthy
  • example 200 http response

Checks all

dependancies

Simple HealtCheck

External monitoring tools

  • slack integration
  • monitoring dashboards

Logging

Exposing Logs

  • endpoint for latest
    • memory target
  • external system

ELK

  • Elastic Search
  • Logstach
  • Kibana
http://www.thedevlog.com/
http://blogs.nopcode.org/

Monitoring

Service Healthy

  • CPU
  • Memory
  • Disk Space
  • Network
  • more.

https://warden-stack.github.io/Warden-1.3.2-released-and-new-web-app-ui-designs/

Management & Registry

AppDynamics

OpsClarity

Netsil

Micro Workshop - Demos

By Michal Franc

Micro Workshop - Demos

  • 1,478