makini-adapter / tracing-errors
v1.0.5
2022-07-17 17:10 UTC
Requires
- php: ^8.0
- maxbanton/cwh: ^2.0
- psr/http-server-handler: ^1.0
- psr/log: ^1.1
- sentry/sdk: ^3.2
- vinelab/tracing-laravel: ^2.1
README
-
Supports tracing errors and transaction for
- Sentry
- Zipkin
-
Supports put log for :
- Docker input
- Cloud-watch
-
Configuration: 3.1 Default Logs:
- Keeping initial configuration 3.2 Cloud-watch
- 'log.channel' => env('LOG_CHANNEL', 'default') ,
- 'log.aws.group' => env('LOG_GROUP'),
- 'log.aws.group.default' => env('LOG_GROUP_DEFAULT'),
- 'log.aws.stream' => env('LOG_STREAM'),
- Change LOG_CHANNEL to cloudwatch
- Change LOG_GROUP
- Change LOG_GROUP_DEFAULT
- Change LOG_STREAM
3.2 Sentry
- 'services.sentry' => [ 'dsn' => env('SENTRY_DSN') ]
- change SENTRY_DSN
3.3 Zipkin
- 'zipkin' => [ 'host' => env('ZIPKIN_HOST', 'localhost'), 'port' => env('ZIPKIN_PORT', 9411), 'options' => [ '128bit' => false, 'max_tag_len' => 1048576, 'request_timeout' => 5, ], ], --> change configs
- 'tracing.excluded_paths' => [ '/' ] --> add excluded paths
Let's rock.