Worker profile of WSO2 API Manager Analytics
1M+
WSO2 product Docker images available at DockerHub package General Availability (GA) versions of WSO2 products with no WSO2 Updates.
For a production grade deployment of the desired WSO2 product-version, it is highly recommended to use the relevant Docker image which packages WSO2 Updates, available at WSO2 Private Docker Registry.
Dockerfile linksWhere to get help:
Docker Community Forums, Docker Community Slack, Stack Overflow or mail to WSO2 Developer mailing list
Where to file issues:
Product specific issues at WSO2 API Manager Analytics product repository and Docker resource usage issues at product Docker resource repository
Maintained by:
WSO2 Inc.
Supported Docker versions:
Docker v17.09.0 or above
WSO2 API Manager integrates with API Manager Analytics to provide reports, statistics, and graphs on the APIs deployed in WSO2 API Manager. You can then configure alerts to monitor these APIs and detect unusual activity, manage locations via geolocation statistics and carry out a detailed analysis of the logs. WSO2 API Manager has an enhanced distribution of Analytics to cater to API Manager specific scenarios.
APIM Analytics consists of two components: Worker and Dashboard. The worker is the server that processes the data streams that are sent from WSO2 API Manager and publishes the statistics to a database. The worker and dashboard are connected through the database.
The following command starts a Linux Ubuntu-based Analytics Worker profile Docker image.
$ docker run -it -p 9091:9091 --name worker wso2/wso2am-analytics-worker:3.2.0
Here, only the port 9091 has been mapped to corresponding Docker host (host machine on top of which containers are spawned) ports. You may map other container service ports to Docker host ports, as desired.
Assuming you have started a Docker container instance of Worker profile as instructed in the previous section
Start an Analytics Worker profile instance,
$ docker logs worker
$ docker exec -it worker bash
To start a Docker container instance of the Worker profile in debug mode (assuming 5005 to be the remote debugging port), use the following command:
$ docker run -it -p 5005:5005 --name another-worker wso2/wso2am-analytics-worker:3.2.0 -debug 5005
Configurations would lie on the Docker host machine and they can be volume mounted to the container. As an example, steps required to change the port offset using deployment.yaml is as follows:
In the Analytics Worker profile product distribution, deployment.yaml configuration file can be found at {DISTRIBUTION_HOME}/conf/worker.
Copy the file to a suitable location of the host machine, referred to as {SOURCE_CONFIGS}/deployment.yaml and increase the offset value under ports by 1.
other users for {SOURCE_CONFIGS}/deployment.yaml.$ chmod o+r {SOURCE_CONFIGS}/deployment.yaml
$ docker run -p 7713:7713 --volume {SOURCE_CONFIGS}/deployment.yaml:{TARGET_CONFIGS}/deployment.yaml wso2/wso2am-analytics-worker:3.2.0
Here, {TARGET_CONFIGS} refers to /home/wso2carbon/wso2am-analytics-3.2.0/conf/worker folder of the container.
Multiple product profile Docker images based on different base operating systems are available.
wso2am-analytics-worker:{version}Ubuntu 18.04 LTS based Docker image with AdoptOpenJDK 11 pre-installed has been used as the base Docker image.
Analytics Worker profile of WSO2 API Manager Analytics has been installed on top of this Docker image.
wso2am-analytics-worker:{version}-alpineAlpine based Docker image with AdoptOpenJDK 11 pre-installed has been used as the base Docker image.
Analytics Worker profile of WSO2 API Manager Analytics has been installed on top of this Docker image.
wso2am-analytics-worker:{version}-centosCentOS based Docker image with AdoptOpenJDK 11 pre-installed has been used as the base Docker image.
Analytics Worker profile of WSO2 API Manager Analytics has been installed on top of this Docker image.
View license information for the software contained in this image.
As with all Docker images, these are likely to contain other software which may be under other licenses (such as Bash, etc. from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Content type
Image
Digest
Size
366.1 MB
Last updated
about 6 years ago
docker pull wso2/wso2am-analytics-worker