path: root/README.md
diff options
authorAndy Carlson <thecarlsondaddy@gmail.com>2018-02-07 14:22:57 -0500
committerGitHub <noreply@github.com>2018-02-07 14:22:57 -0500
commit187ae4c283cd7808489c1faa6d1134b765641cfd (patch)
treeb539e1f61bdb21d6696f5a6e67af9ee61da38cb1 /README.md
parent1acf1df95cbb8e2666422ac300f73bd4dfaeccb8 (diff)
Update README.md
Diffstat (limited to 'README.md')
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6660e26..36bc905 100644
--- a/README.md
+++ b/README.md
@@ -71,3 +71,7 @@ Here are the individual resources and the URI they can be queries with:
| Swap Space | /status/swap |
| Disk Devices | /status/disk |
| Partitions | /status/partition |
+## Extending Functionality
+1. Create a script file in `stats` folder (for example, name it `hits`). This script will be executed when the URL is hit (for example /stats/hits).
+2. Create a file in the `stats` folder with the `.comments` extension that contains information on what the script does (for example `hits.comments`).