Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Metrics #83

Open
tobiasschaefer opened this issue Sep 21, 2020 · 2 comments
Open

Provide Metrics #83

tobiasschaefer opened this issue Sep 21, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tobiasschaefer
Copy link
Collaborator

Let's provide some metrics for Micronaut Micrometer:

  • Number of process models (unversioned?)
  • Number of running process instances
  • Number of completed process instances
  • ...(have a look at the Cockpit to get inspiration)...

See also https://docs.micronaut.io/latest/guide/index.html#healthEndpoint with link to https://micronaut-projects.github.io/micronaut-micrometer/latest/guide/

@tobiasschaefer tobiasschaefer added enhancement New feature or request good first issue Good for newcomers labels Sep 21, 2020
@arolfes arolfes self-assigned this Mar 2, 2021
@arolfes
Copy link
Collaborator

arolfes commented Mar 4, 2021

@arolfes
Copy link
Collaborator

arolfes commented Mar 5, 2021

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]

arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 5, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 7, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 8, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 8, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 8, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 9, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 9, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 12, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 12, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 12, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 13, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 18, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 18, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 18, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 18, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 22, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 22, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 22, 2021
@arolfes arolfes linked a pull request Mar 22, 2021 that will close this issue
4 tasks
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 25, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 29, 2021
arolfes added a commit to arolfes/micronaut-camunda-bpm that referenced this issue Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: 🔁 In Progress
Development

Successfully merging a pull request may close this issue.

2 participants