Comments (8)
Are those workers picking up code changes you're deploying?
Does the job
category even appear in the UI for you?
from elastic-apm-laravel.
@countless-integers thanks for your reply Adrian. So the code is picked up by the workers because it is logging the artisan commands executed by the same environment. I confirmed this also by changing the app name of the jobs server. And I do see this app name show up in transactions. But as said only with the artisan commands.
I do not see the jobs value in the dropdown.
Any other clues as to what I could try?
from elastic-apm-laravel.
The reason I asked about that is because usually workers run as continuous processes, so they need to be reloaded to pick up any code changes -- ofc it all depends on what your setup is.
No clue unfortunately.
from elastic-apm-laravel.
Sorry I'm a little late to the party. I confirmed that we are seeing APM data for jobs executed on our jobs server, but our environment is certainly different (we don't use Horizon for example). For jobs, the data is sent to APM as a result of listening for the JobProcessed
event. (See the collector for details.) Could something in your application either cause that event to not fire or otherwise disrupt the logic required for the send to be executed?
from elastic-apm-laravel.
Hi all, sorry for my late reply but I reached out to Elastic Support and they told me that since some time the APM php package supports Laravel out of the box. At the moment i'm not sure if I should use this package on top of the APM install or not? Any feedback would be appreciated!
from elastic-apm-laravel.
The APM Agent for PHP is an extension which you must install in our PHP runtime. This package and the underlying APM Agent predate the creation of the official extension and their interoperability is unknown. However, since the two implementations have no actual awareness of each other, I think only one should be used, otherwise you will send duplicate transaction data.
from elastic-apm-laravel.
Hey @tomvo, thanks for the info. As @dstepe mentioned, the official APM agent is installed directly in the server as a PHP runtime extension, and not as a Laravel dependency. I didn't try it yet, but if you have the chance and can/want to share your impression here, you are more than welcome.
from elastic-apm-laravel.
hey @arkaitzgarro sorry for bumping on this closed issue. I just got another reply from Elastic on my question on how to differentiate between environments. They mentioned:
I was checking internally, and it seems it is only possible to do such environment separation having different php.ini files.
So for anyone else stumbling upon this, please know this. This means i'll probably switch to using this package instead of the PHP Agent.
from elastic-apm-laravel.
Related Issues (20)
- Issue with Octane HOT 1
- Use of undefined constant LARAVEL_START - assumed 'LARAVEL_START' (this will throw an Error in a future version of PHP) HOT 3
- Did not collect data from Api routes HOT 1
- Return value of AG\ElasticApmLaravel\ServiceProvider::getAppConfig() must be of the type array, null returned HOT 4
- installation error HOT 2
- installation error HOT 7
- Logs for deprecated parameters
- Apm setup HOT 4
- Laravel 9? HOT 12
- Laravel Octane Support HOT 8
- Standard ELASTIC_APM_ENVIRONMENT value is not used correctly
- Build failing due to failure in the Command collector HOT 3
- Transaction not getting associated with Errors on Elastic Cloud APM HOT 1
- Send only Transactions associated with Exceptions to APM Server HOT 1
- Application ENV not picked up by agent HOT 1
- Need to include latest version of nipwaayoni/elastic-apm-php-agent HOT 2
- AG\ElasticApmLaravel\Collectors\EventDataCollector::shouldIgnoreTransaction(): Argument #1 ($transaction_name) must be of type string, HOT 6
- Laravel Telescope Support HOT 1
- Is there a reason that this agent doesn't allow collecting stacktraces? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elastic-apm-laravel.