Skip to content

This service integrates with the Openwhisk project and provides metrics for all activations executed in the framework.

License

Notifications You must be signed in to change notification settings

adobe-apiplatform/openwhisk-user-events

Repository files navigation

OpenWhisk User Events

OpenWhisk User Events

Build Status License codecov

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

Build

This command pulls the docker images for local testing and development.

make all

Run

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 service
  • 9096 - prometheus
  • 3000 - grafana

Logs

  • docker-compose logs - ~/tmp/openwhisk/docker-compose-events.log

Building a Docker image

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.

Integrations

Prometheus

The docker container would run the service and expose the metrics in format required by Prometheus at 9095 port

Grafana

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.

About

This service integrates with the Openwhisk project and provides metrics for all activations executed in the framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published