https://github.com/oshosanya/grafana-tracing
https://github.com/oshosanya/grafana-tracing
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oshosanya/grafana-tracing
- Owner: oshosanya
- Created: 2022-02-11T11:07:38.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T11:13:53.000Z (over 3 years ago)
- Last Synced: 2024-12-30T02:51:51.749Z (5 months ago)
- Language: PHP
- Size: 80.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Setup
Before starting the application, you need to run migrations, and have a zipkin server running.
Database credentials can be set in the .env file.`php artisan migrate`
Start a zipkin server on docker using
`docker run -d -p 9411:9411 openzipkin/zipkin`
You can then run the application using
`php artisan serve`
You can visit the following routes
/
/hello
/register
Submitting the form on /register redirects you to the index route.
You can view all traces on http://localhost:9411/
## Further Improvements
The trace endpoint can be created using the route `METHOD: path` to make viewing in
zipkin a bit more intuitive and remove reliance on route names.The laravel-zipkin project could also be forked so that any changes that need to be made to
make it easier to use can be done