Answers: <p>Solved updating the prometheus operator 0.38.1 -&gt; 0.39.0.</p>
  <p>More details: <a href="https://github.com/apache/camel-k/issues/2794" rel="nofollow noreferrer">https://github.com/apache/camel-k/issues/2794</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2021-12-02T10:57:54.480Z
Answers: 2021-12-02T10:57:54.480Z
Answers: Beto Neto
Body: <p>I have a Kubernetes running Rancher 2.4.3. I have the cluster monitoring enabled in rancher, so that exists a Prometheus instance running, so as a  Prometheus Operator.</p>
  <p>Recently I deployed a Apache Camel-K operator, and now I want to enable the prometheus integration for collect metrics about my camel routes.</p>
  <p>So, my Camel-K operator is running in namescape <code>camel-k</code> and the rancher embedded prometheus stack in <code>cattle-prometheus</code> namespace.</p>
  <p>I just have launched my route with the trait <code>--trait prometheus.enabled=true</code>, but the camel metrics aren't listing at my prometheus.</p>
  <p>Anyone knows why or what I need to configure to my camel-k route deploy it's metrics at the rancher embedded prometheus?</p>
  
Tags: <kubernetes><prometheus><rancher>
Title: Apache Camel-k metrics in rancher embedded prometheus
UserDisplayName: Beto Neto
ThreadText: # Apache Camel-k metrics in rancher embedded prometheus
  
  (Asked by: username_0 on 2021-11-24)
  
  I have a Kubernetes running Rancher 2.4.3. I have the cluster monitoring enabled in rancher, so that exists a Prometheus instance running, so as a Prometheus Operator.
  
  Recently I deployed a Apache Camel-K operator, and now I want to enable the prometheus integration for collect metrics about my camel routes.
  
  So, my Camel-K operator is running in namescape `camel-k` and the rancher embedded prometheus stack in `cattle-prometheus` namespace.
  
  I just have launched my route with the trait `--trait prometheus.enabled=true`, but the camel metrics aren't listing at my prometheus.
  
  Anyone knows why or what I need to configure to my camel-k route deploy it's metrics at the rancher embedded prometheus?
  
  **Tags:** kubernetes, prometheus, rancher
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-12-02. Score: 0 | Accepted answer
  
  Solved updating the prometheus operator 0.38.1 -> 0.39.0.
  
  More details: <https://github.com/apache/camel-k/issues/2794>
  
  
  ---
  
  