|
| 1 | += Camel Dashboard |
| 2 | + |
| 3 | +https://camel-tooling.github.io/camel-dashboard/[Camel Dashboard] is a Kubernetes operator that you can use to monitor your fleet of Camel applications deployed in the cloud. Whether you use Camel K to deploy or not, the Dashboard is a great tool that you can use to monitor your Camel fleet. |
| 4 | + |
| 5 | +NOTE: the project is in developer preview mode. |
| 6 | + |
| 7 | +The Camel Dashboard was originally born as a spin off from Camel K Synthetic Integrations features and matured into a brand new operator whose goal is to provide a meaningful set of information about typical KPIs of your fleet of Camel workloads running on the cloud. |
| 8 | + |
| 9 | +From Camel K version 2.10.0 onward, the applications deployed by the operator will be automatically instructed with the labels required by the Dashboard to discover and monitor. This is controlled via a Kubernetes label injected to the Deployments (or CronJob or KnativeService) configured on the operator side with the environment variable `CAMEL_DASHBOARD_APP_LABEL` (set by default to `camel.apache.org/app`). |
| 10 | + |
| 11 | +On the Camel Dashboard side, any application containing the label will be watched and monitored providing a set of useful Camel metrics (for example, health, number of exchanges succeeded, failed, ...). |
| 12 | + |
| 13 | +You will need to include the `camel-observability-services` component into your application in order to get the full power of this monitoring tool. As an example: |
| 14 | + |
| 15 | +```yaml |
| 16 | +apiVersion: camel.apache.org/v1 |
| 17 | +kind: Integration |
| 18 | +metadata: |
| 19 | + name: sample-it |
| 20 | +spec: |
| 21 | + dependencies: |
| 22 | + - mvn:org.apache.camel.quarkus:camel-quarkus-observability-services |
| 23 | + flows: |
| 24 | + - route: |
| 25 | + id: send-5-messages |
| 26 | + from: |
| 27 | + uri: "timer:tick?repeatCount=5" |
| 28 | + steps: |
| 29 | + - setBody: |
| 30 | + simple: "Hello!" |
| 31 | + - to: "log:myLogger" |
| 32 | + traits: |
| 33 | + # We need a provide any version supporting camel-observability-services |
| 34 | + camel: |
| 35 | + runtimeProvider: plain-quarkus |
| 36 | + runtimeVersion: 3.30.8 |
| 37 | +``` |
| 38 | + |
| 39 | +The information will be stored in a Custom Resource provided by the Camel Dashboard installation procedure: `CamelApp`. Here a basic example: |
| 40 | + |
| 41 | +```bash |
| 42 | +$ kubectl get camelapp -w |
| 43 | + |
| 44 | +NAME IMAGE PHASE REPLICAS HEALTHY MONITORED INFO EXCHANGE SLI LAST EXCHANGE |
| 45 | +camel-sample 10.104.35.69/camel-k/camel-k-kit-d67egl6snmec... Running 1 True True Quarkus - 3.30.8 (4.16.0) 4m3s |
| 46 | +``` |
| 47 | + |
| 48 | +More in detail, the specific info are stored in the custom resource status: |
| 49 | + |
| 50 | +```bash |
| 51 | +$ kubectl get camelapp -o yaml |
| 52 | +apiVersion: v1 |
| 53 | +items: |
| 54 | +- apiVersion: camel.apache.org/v1alpha1 |
| 55 | + kind: CamelApp |
| 56 | + metadata: |
| 57 | + annotations: |
| 58 | + camel.apache.org/imported-from-kind: Deployment |
| 59 | + camel.apache.org/imported-from-name: sample-it |
| 60 | +... |
| 61 | + status: |
| 62 | + conditions: |
| 63 | + - lastTransitionTime: "2026-02-18T08:32:59Z" |
| 64 | + message: Success |
| 65 | + reason: MonitoringComplete |
| 66 | + status: "True" |
| 67 | + type: Monitored |
| 68 | + - lastTransitionTime: "2026-02-18T08:32:59Z" |
| 69 | + message: All pods are reported as healthy. |
| 70 | + reason: HealthCheckCompleted |
| 71 | + status: "True" |
| 72 | + type: Healthy |
| 73 | + image: 10.104.35.69/camel-k/camel-k-kit-d67egl6snmec73e6oqgg@sha256:0ba2fdcc091c62e2a121ebe795d59cb42e34af176b84398e40862bf2fb09c3d1 |
| 74 | + info: Quarkus - 3.30.8 (4.16.0) |
| 75 | + phase: Running |
| 76 | + pods: |
| 77 | + - internalIp: 10.244.0.225 |
| 78 | + name: sample-it-75c5fd6c6f-wfbc7 |
| 79 | + observe: |
| 80 | + healthEndpoint: observe/health |
| 81 | + healthPort: 9876 |
| 82 | + metricsEndpoint: observe/metrics |
| 83 | + metricsPort: 9876 |
| 84 | + ready: true |
| 85 | + runtime: |
| 86 | + camelVersion: 4.16.0 |
| 87 | + exchange: |
| 88 | + lastTimestamp: "2026-02-18T08:27:28Z" |
| 89 | + succeed: 5 |
| 90 | + total: 5 |
| 91 | + runtimeProvider: Quarkus |
| 92 | + runtimeVersion: 3.30.8 |
| 93 | + status: UP |
| 94 | + status: Running |
| 95 | + uptimeTimestamp: "2026-02-18T08:26:57Z" |
| 96 | + replicas: 1 |
| 97 | + sliExchangeSuccessRate: |
| 98 | + lastTimestamp: "2026-02-18T08:27:28Z" |
| 99 | + samplingInterval: 60000000000 |
| 100 | +``` |
| 101 | + |
| 102 | +NOTE: Camel K won't require the availability of Camel Dashboard to work, neither Camel Dashboard would require Camel K, they are independent projects which can cooperate to provide a Build and Monitoring tool. |
| 103 | + |
| 104 | +Learn more by reading the official https://camel-tooling.github.io/camel-dashboard/[Camel Dashboard documentation]. |
0 commit comments