dylanenabled commented on issue #1525:
URL: https://github.com/apache/camel-k/issues/1525#issuecomment-643267635


   As a workaround for now, setting `--trait 
jvm.options=-javaagent:dependencies/io.prometheus.jmx.jmx_prometheus_javaagent-0.3.1.jar=9779:/etc/prometheus/prometheus-jmx-exporter.yaml`
 works.
   
   E.G
   ```
   kamel run -n "${KUBECTL_NAMESPACE}" ${FLAGS} \
     ${DEPS} \
     --trait 
jvm.options=-javaagent:dependencies/io.prometheus.jmx.jmx_prometheus_javaagent-0.3.1.jar=9779:/etc/prometheus/prometheus-jmx-exporter.yaml
 \
     --trait prometheus.enabled=true \
     --trait prometheus.service-monitor=false \
     --secret=logr-air-camelk-config \
     --configmap=logr-air-consumer-config \
     --wait \
     integration.kts
   ```
   
   works to reenable it


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to