name: print_timer_tick
dependencies:
- name: pipebase
path: ../../../pipebase
modules: ["pipebase::prelude::*"]
pipes:
- name: timer1
ty: Poller
config:
ty: TimerConfig
path: catalogs/timer1.yml
output: UnsignedLongLong
- name: timer2
ty: Poller
config:
ty: TimerConfig
path: catalogs/timer2.yml
output: UnsignedLongLong
- name: printer
ty: Exporter
config:
ty: PrinterConfig
upstreams: [ "timer1", "timer2" ]
buffer: 10
objects:
- ty: Bar
fields:
- name: bar1
ty: Integer
- name: bar2
ty: String
cstores:
- name: "context_printer"
config:
ty: "ContextPrinterConfig"
path: "catalogs/context_printer.yml"
error:
config:
ty: "PipeErrorPrinterConfig"
buffer: 10