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
```
[ Full content available at: https://github.com/apache/camel-k/issues/82 ]
This message was relayed via gitbox.apache.org for [email protected]