resources: msg: Introduce new resource type to log arbitrary messages
Untested things: * systemd journal Unimplemented things: * syslog
This commit is contained in:
committed by
James Shubin
parent
41b3db7d6b
commit
30d93cfde7
18
examples/msg1.yaml
Normal file
18
examples/msg1.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
graph: mygraph
|
||||
comment: timer example
|
||||
resources:
|
||||
timer:
|
||||
- name: timer1
|
||||
interval: 30
|
||||
msg:
|
||||
- name: msg1
|
||||
body: mgmt logged this message
|
||||
edges:
|
||||
- name: e1
|
||||
from:
|
||||
kind: timer
|
||||
name: timer1
|
||||
to:
|
||||
kind: msg
|
||||
name: msg1
|
||||
Reference in New Issue
Block a user