Sign inSign up

iondv/metrics

By iondv

•Updated over 7 years ago

IONDV. Metrics application

Image
1

903

iondv/metrics repository overview

IONDV. Metrics⁠ - is an application for collect and show metrics witch IONDV. Watch⁠ module.

Follow these steps to deploy docker container:

  1. Run mongodb
docker run  --name mongodb \
            -v mongodb_data:/data/db \
            -p 27017:27017 \
            --restart unless-stopped \
            -d \
            mongo
  1. Deploy your IONDV. Metrics application
docker run --entrypoint="" --link mongodb --rm iondv/metrics node bin/import --src ./applications/metrics --ns metrics
docker run --entrypoint="" --link mongodb --rm iondv/metrics node bin/setup metrics --reset
  1. Create user admin with password 123 and admin role
docker run --entrypoint="" --link mongodb --rm iondv/metrics node bin/adduser --name admin --pwd 123
docker run --entrypoint="" --link mongodb --rm iondv/metrics node bin/acl --u admin@local --role admin --p full
  1. Start application
docker run -d -p 80:8888 --name metrics --link mongodb iondv/metrics

Open http://localhost/watch in your browser. Result status is OK. Adress http://your.domain/watch⁠ didn't tracking, and used for health check for Docker container. Open http://localhost/watch/test in your browser. Result is the small image in PNG and your request is saved in IONDV. Registry⁠. Open http://localhost/registry in your browser, and after authorisation you will see list with made requests to http://localhost/watch/**.

iondv metrics

Tag summary

Content type

Image

Digest

Size

371.2 MB

Last updated

over 7 years ago

docker pull iondv/metrics