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
This command pulls the docker images for local testing and development.
make all
First configure and run
openwhisk docker-compose
that can be found in the openwhisk-tools project.
Once the openwhisk docker-compose
has been started, go ahead and execute the following command:
make start-docker-compose
This will start the user-event
service along with prometheus and grafana inside the same docker-compose openwhisk network.
These ports must be available:
9095
- user-events service9096
- prometheus3000
- grafana
docker-compose
logs -~/tmp/openwhisk/docker-compose-events.log
A docker image of the user-events
service can be build running this command:
make docker-build
The latest docker image can also be found on docker hub under this name: adobeapiplatform/openwhisk-user-events.
This image can be deployed in any other configuration that doesn't include docker-compose
, as long as the environment variable KAFKA_HOSTS
is being set to point to the existing openwhisk Kafka URL.
The docker container would run the service and expose the metrics in format required by Prometheus at 9095
port
The Openwhisk - Action Performance Metrics
grafana 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 on Grafana Labs.