astefanutti edited a comment on issue #1555:
URL: https://github.com/apache/camel-k/issues/1555#issuecomment-651038282


   A first implementation has been done at 
https://github.com/astefanutti/camel-k/commit/0cff2daafd4c2d4699ceef4bad074c7c83e6b547.
   
   However, it seems it hits the limitation enforced by Knative Serving, that 
only a single container port can be declared. In that case, the work-around 
used with `ServiceMonitor`, that is, not declaring the metrics endpoint port, 
does not work with `PodMonitor`.
   
   A couple of issues are already reported in Knative Serving, that we should 
support:
   * https://github.com/knative/serving/issues/8047
   * https://github.com/knative/serving/issues/8471
   
   Another option would be to use a single port serving both application and 
monitoring traffic. While this would be difficult for the _main_ runtime, that 
relies on the JMX exporter Prometheus agent, this is the default with Quarkus.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to