Browse Source

Add Grafana module

master
JustAnotherArchivist 4 years ago
parent
commit
ced83b2fd4
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      contrib/modules/grafana.py

+ 6
- 0
contrib/modules/grafana.py View File

@@ -0,0 +1,6 @@
import json


async def process(request):
obj = json.loads(await request.text())
return f'{obj["title"]} - {obj["message"]}'

Loading…
Cancel
Save