astefanutti opened a new issue #82: Expose metrics to Prometheus
URL: https://github.com/apache/camel-k/issues/82
 
 
   A common set of Camel-K related metrics could be expose to Prometheus for 
monitoring purpose.
   
   Besides, It would be cool if it'd be possible to define some custom 
Prometheus metrics, directly in the custom resource.
   
   Problably the JMX Prometheus Java agent would have to be enabled 
(configurably) and fragments would look like:
   
   ```
   rules:
     - pattern: 'fis.metrics<name=os.(.*)><>(.+):'
       name: os_$1
       help: some help
   
     - pattern: 'org.apache.camel<context=camel, type=routes, 
name=\"(.*)\"><>LastProcessingTime'
       name: camel_last_processing_time
       help: Last Processing Time [milliseconds]
       type: GAUGE
       labels:
         route: $1
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to