diff --git a/docs/connectors/pulsar-io-debug.md b/docs/connectors/pulsar-io-debug.md index 66cbadc..6d6b2e0 100644 --- a/docs/connectors/pulsar-io-debug.md +++ b/docs/connectors/pulsar-io-debug.md @@ -50,4 +50,9 @@ spec: cpu: "0.1" memory: 1G # Other source configs -``` \ No newline at end of file +``` + +## Metrics + +Metrics can be a very valuable piece of debug information and add context on to what is occuring. Functions, sources, sinks and the mesh itself +provide Prometheus metrics. For more information, see the relevant documentation. \ No newline at end of file diff --git a/docs/function-mesh/function-mesh-overview.md b/docs/function-mesh/function-mesh-overview.md index fc2ad05..f9b9a50 100644 --- a/docs/function-mesh/function-mesh-overview.md +++ b/docs/function-mesh/function-mesh-overview.md @@ -32,4 +32,13 @@ Function Mesh stores both the functions and connectors metadata and running stat The following diagram illustrates how Function Mesh works. -![Function Mesh](./../assets/function-mesh-overview.png) \ No newline at end of file +![Function Mesh](./../assets/function-mesh-overview.png) + +## Metrics + +Function Mesh exposes the following metrics from the operator. + +### function_mesh_reconcile_count +Number of reconcile operations Type: Counter. +### function_mesh_reconcile_latency +Latency of reconcile operations, bucket boundaries are 10ms, 100ms, 1s, 10s, 30s and 60s. Type: Histogram. \ No newline at end of file