This service connects to events
topic and publishes the events to various services like Prometheus, Datadog etc via Kamon. Refer to user specific metrics on how to enable them.
First configure and run
openwhisk docker-compose
that can be found in the openwhisk-tools project.
openwhisk_default
)9095
/metrics
.The service needs the following env variables to be set
KAFKA_HOSTS
- For local env it can be set to 172.17.0.1:9093
. When using OpenWhisk Devtools based setup use kafka
reference.conf
using the whisk.user-events.ignored-namespaces
configuration. e.g:whisk { user-events { ignored-namespaces = ["canary","testing"] } }
The docker container would run the service and expose the metrics in format required by Prometheus at 9095
port
The Openwhisk - Action Performance Metrics
Grafana4 dashboard is available on localhost port 3000
at this address: http://localhost:3000/d/Oew1lvymk/openwhisk-action-performance-metrics
The latest version of the dashboard can be found in the “compose/dashboard/openwhisk_events.json”