Fogbow metrics for any scraper
Explore the docs »
Open Source
The telemetry aggregator is intended as a flexible monitoring middleware that offers support for platforms such as Prometheus (for now, the only supported) that can centralize information from Fogbow instances and even federations.
- Golang
- Mongodb
- Docker tools (swarm and so on)
- Remote deployment provided by Ansible
To get a local copy up and running follow these simple steps.
You can simply deploy a stack of the services required to run the Aggregator only by running the deploy script with root privileges.
sh deploy-stack.sh
- Clone the repo
git clone https:://github.com/emanueljoivo/aggregator.git
- Enter to the ansible folder and fill the fields on the hosts.conf file
cd ansible/ && vim hosts.conf
- Once the information in the file is correct, execute the follow command with root privileges
sh install.sh
The API tends to be REST and has only one endpoint with two methods
POST /metric
GET /metric/{id}
where {id} is the id of the metric generated when it was generated.
{
"name":"metric_name",
"value": 0,
"timestamp":1568834244853,
"help":"Some short description about the metric.",
"metadata":{
"service": "some_service"
}
}
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Emanuel Joívo - @emanueljoivo - emanueljoivo@gmail.com
Project Link: https://github.com/emanueljoivo/aggregator