Error tracking tool on AWS managed services.
Migration Guide: from v0.x to v1.x
- Simple deploy
- Manageless
- POST errors with config
- Between "Only mail notify" and "Error tracking services"
- Serverless Framework โก
- AWS Lambda
- API Gateway
- Amazon S3
- Amazon DynamoDB
- IAM
- KMS (option)
$ git clone https://github.com/faultline/faultline.git
$ cd faultline
$ npm install
Set environment variables.
OR
Copy config.default.yml
to config.yml
. And edit.
Environment / config.yml Document is here ๐ .
$ AWS_PROFILE=XXxxXXX npm run deploy
- Delete all projects (or Empty S3 bucket).
- Run following command.
$ AWS_PROFILE=XXxxXXX npm run destroy
Example:
$ curl -X POST -H "x-api-key: xxxxXXXXXxXxXXxxXXXXXXXxxxxXXXXXX" -H "Content-Type: application/json" -d @sample-errors.json https://xxxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/v0/projects/sample-project/errors
Sample errors POST JSON file is here.
API Document is here ๐ .
- https://github.com/faultline/faultline-php
- https://github.com/faultline/faultline-js
- https://github.com/faultline/faultline-ruby
- https://github.com/faultline/faultline-rack
When receive error, faultline can send nofitications with POST config.
More document is here ๐ .
API Document generated by jdoc.
JSON Hyper-Schema is here ๐ .
Sample web UI for faultline
https://github.com/faultline/faultline-webui
"Architecture of faultline" document is here ๐ .
$ docker-compose up -d
$ npm run test
$ TMPDIR=/private$TMPDIR docker-compose up -d
$ npm run test
PRs accepted.
MIT ยฉ Ken'ichiro Oyama