Skip to content

AElfProject/aelf-stats

Repository files navigation

AElf Stats

AElf Stats is a project designed to collect git history and bulk export it to Elasticsearch.

About The Project

  • Collects and exports git history data.
  • Dockerized for easy setup and deployment.
  • Integrates with Elasticsearch for data storage and analysis.

Prerequisites

  • Docker

Installation

  1. Clone the repository:
git clone https://github.com/AElfProject/aelf-stats.git
cd aelf-stats
  1. start the application:
docker compose up -d

Usage

The application will automatically collect git history and export it to Elasticsearch.

Configuration

Environment variables

Name Default Value Description
REPO Repo, e.g. AElfProject/AElf
ELASTICSEARCH_NODE http://localhost:9200 Address of elasticsearch node

Grafana Dashboard

An example is included at dashboard.json.

For more details on how to import it, see https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/import-dashboards/.

Contributing

If you encounter a bug or have a feature request, please use the Issue Tracker. The project is also open to contributions, so feel free to fork the project and open pull requests.

License

Distributed under the MIT License. See License for more information.

About

Collect git history and bulk export it to Elasticsearch

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors