From e49c5cd0e2855fb9bd766d9912d9ea01d87825f6 Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Sun, 22 Jan 2017 21:44:30 +0000 Subject: [PATCH] Updated Tutorial: Creating a (micro) service (asciidoc) --- Tutorial:-Creating-a-(micro)-service.asciidoc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Tutorial:-Creating-a-(micro)-service.asciidoc b/Tutorial:-Creating-a-(micro)-service.asciidoc index e65636a..28a221b 100644 --- a/Tutorial:-Creating-a-(micro)-service.asciidoc +++ b/Tutorial:-Creating-a-(micro)-service.asciidoc @@ -1,4 +1,4 @@ -How to create a simple HTTP service and run it under systemd. +How to create a simple HTTP service for a SOA environment and run it under systemd. Replace myservicename and myservicedir. @@ -156,7 +156,7 @@ sudo systemctl start myservicename To enable a watchdog, add "WatchdogSec=10s" to the service file. -Install https://github.com/FedericoCeratto/nim-sdnotify +Install https://github.com/FedericoCeratto/nim-sdnotify[sdnotify client] [source,nim] ---- @@ -167,3 +167,10 @@ sd.notify_ready() sd.ping_watchdog() ---- +=== Application metrics + +To generate application metrics for StatsD use https://github.com/FedericoCeratto/nim-statsd-client[StatsD client] + + + +