Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iondv/metrics
IONDV. Framework application: Metrics is to collect and show the metrics data.
https://github.com/iondv/metrics
collecting data data-analysis iondv iondv-app metrics
Last synced: 20 days ago
JSON representation
IONDV. Framework application: Metrics is to collect and show the metrics data.
- Host: GitHub
- URL: https://github.com/iondv/metrics
- Owner: iondv
- License: apache-2.0
- Created: 2019-04-11T15:58:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-12T08:42:42.000Z (almost 6 years ago)
- Last Synced: 2024-11-10T19:37:43.545Z (3 months ago)
- Topics: collecting, data, data-analysis, iondv, iondv-app, metrics
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Эта страница на [Русском](/docs/ru/readme.md)
# IONDV. Metrics
Metrics is a IONDV. Framework application.
### Start with IONDV. Framework
* [IONDV. Framework Core](https://github.com/iondv/framework/)
* [IONDV. Framework Docs](https://github.com/iondv/framework/blob/master/docs/en/index.md)## Description
**IONDV. Metrics** - is an application for collect and show metrics witch [IONDV. Watch](https://github.com/iondv/watch) module.
Typical use:
* build your IONDV. Metrics application with instructions for typical [IONDV. Framework](https://github.com/iondv/framework/blob/master/README.md) application
` in your html with URL to IONDV. Metrics application
* or get ready docker image and start with typical instraction [IONDV. Framework](https://github.com/iondv/framework/blob/master/README.md)
* place html code `
* or set IONDV. Framework application deploy.json `pageEndContent` params in globals (for all modules) or module (for once):
```json
{
"globals": {
"pageEndContent": ""
}
}
```
* open html page or IONDV application, for example http://localhost:8888 for send metrics information about this page visit
* open http://your.domain/registry to view saved metrics.### Docker
Follow these steps to deploy docker container:1. Run mongodb
```bash
docker run --name mongodb \
-v mongodb_data:/data/db \
-p 27017:27017 \
--restart unless-stopped \
-d \
mongo
```2. Deploy your **IONDV. Metrics** application
```bash
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
```3. 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
```4. 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**](https://github.com/iondv/registry).
Open `http://localhost/registry` in your browser, and after authorisation you will see list with made requests to `http://localhost/watch/**`.--------------------------------------------------------------------------
#### [Licence](/LICENCE.md) [Contact us](https://iondv.com) [Russian](/docs/ru/readme.md) [FAQs](/faqs.md)
--------------------------------------------------------------------------
Copyright (c) 2019 **LLC "ION DV"**.
All rights reserved.