Closed thewasta closed 2 years ago
Can you try adding the token to authenticate with Elastic too? See this for reference. You can also check you Laravel logs for errors.
Can you try adding the token to authenticate with Elastic too? See this for reference. You can also check you Laravel logs for errors.
But, I have not security on my stack. Just a single-node elasticsearch+kibana+apm. In fact it's a docker-compose
Hi @thewasta,
I don't think we can help you, it seems a problem with your setup rather than a library problem. If you find the issue, and it's related to this package, please let us know and we will fix it.
Hi @arkaitzgarro,
But, Is my configuration ok? Did I miss something? I have been reading apm setup from elasticsearch and their guide have to install a apm agent (rpm -ivh <package-file>.rpm
or deb or apk).
I think my configuration is ok, otherwise I could read errors in logs. I only got one error saying to change "appName" to "serviceName" in config/elastic-apm-laravel.php
nothing else.
Enviroment: Laravel v8
This is my current
config/elastic-apm-laravel.php
My docker-compose.yml
elasticsearch.yml
I installed
php-http/guzzle7-adapter
andarkaitzgarro/elastic-apm-laravel
tried some request (go to home page...) but no services listed (Kibana->Observability->APM/Services), and no errors on logs. Usedelastic:create
command fromjeroen-g/explorer
library, and one service is listed but only my command. Tried to throw a error from my application, but not listed on error. I addedAG\ElasticApmLaravel\Middleware\RecordTransaction
toHttp/Kernel.php
middleware. Did I miss something?I want to trace request, DB queries, errors, cpu usage...