Open tobiasschaefer opened 4 years ago
first example export to console
09:11:48.389 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - bpmn-activity-instance-end{group=BpmnExecutionMetrics,name=activity-instance-end} value=0
09:11:48.390 [pool-1-thread-2] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[136]
09:11:50.773 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - bpmn-activity-instance-start{group=BpmnExecutionMetrics,name=activity-instance-start} value=0
09:11:50.775 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - bpmn-root-process-instance-start{group=BpmnExecutionMetrics,name=root-process-instance-start} value=14
09:11:50.776 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.cpu.usage{} value=0
09:11:50.776 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.files.max{} value=1048576 files
09:11:50.776 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.files.open{} value=130 files
09:11:50.779 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.start.time{} value=448592h 10m 33.443000064s
09:11:50.779 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.uptime{} value=1m 17.367s
09:11:50.779 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - system.cpu.count{} value=8
09:11:50.780 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - system.cpu.usage{} value=0.75
09:11:50.780 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - system.load.average.1m{} value=0.69
09:11:50.783 [pool-1-thread-1] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[144]
09:11:55.799 [pool-1-thread-3] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[152]
09:12:00.817 [pool-1-thread-2] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[159]
09:12:05.836 [pool-1-thread-3] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[168]
09:12:10.850 [pool-1-thread-1] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[176]
09:12:15.870 [pool-1-thread-3] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[184]
09:12:20.882 [pool-1-thread-3] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[192]
09:12:25.897 [pool-1-thread-1] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[200]
09:12:30.908 [pool-1-thread-3] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[208]
09:12:35.929 [pool-1-thread-1] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[216]
09:12:36.583 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - bpmn-activity-instance-end{group=BpmnExecutionMetrics,name=activity-instance-end} value=0
09:12:36.584 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - bpmn-activity-instance-start{group=BpmnExecutionMetrics,name=activity-instance-start} value=0
09:12:36.585 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - bpmn-root-process-instance-start{group=BpmnExecutionMetrics,name=root-process-instance-start} value=24
09:12:36.585 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.cpu.usage{} value=0.002939
09:12:36.586 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.files.max{} value=1048576 files
09:12:36.586 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.files.open{} value=130 files
09:12:36.586 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.start.time{} value=448592h 10m 33.443000064s
09:12:36.586 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - process.uptime{} value=2m 3.174s
09:12:36.586 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - system.cpu.count{} value=8
09:12:36.587 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - system.cpu.usage{} value=0.026624
09:12:36.587 [logging-metrics-publisher] INFO i.m.c.i.logging.LoggingMeterRegistry - system.load.average.1m{} value=0.54
09:12:40.946 [pool-1-thread-3] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[224]
09:12:45.961 [pool-1-thread-2] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[232]
09:12:50.971 [pool-1-thread-1] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[240]
09:12:55.987 [pool-1-thread-2] INFO i.n.m.c.bpm.example.LoggerDelegate - Hello World: ProcessInstance[248]
Let's provide some metrics for Micronaut Micrometer:
See also https://docs.micronaut.io/latest/guide/index.html#healthEndpoint with link to https://micronaut-projects.github.io/micronaut-micrometer/latest/guide/