• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Dynatrace /
  • Dynatrace Open Q&A /
avatar image
Question by Sebastian K. · Oct 08, 2018 at 12:24 PM · dynatrace saas services php

Limited options to configure services and track code with Laravel PHP Application

Hi,

I have questions about PHP monitoring with Dynatrace. Everything is working fine except one thing. I thing it's because of how framework is working. I actually don't see executions of methods from Controller. There is index.php execution and after that PDO statements or remote calls. It's not the problem because performance monitoring is working fine. The problem is if I'm trying to define custom services. Because the file with controller is not directly called, such rules doesn't actually work. Is it any workaround for this?

Regards,

Sebastian

Comment
HIMANSHU m.

People who like this

1 Show 1
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Johan C. · Nov 07, 2020 at 12:44 PM 0
Share

Has this ever been fixed? I am also using Laravel and am trying Dynatrace out.

I defined custom services for my methods, and broswed to URL calling these methods, but doesn't see anything related to them in the PurePath.


If this is not possible to see, then you shouldn't say that Laravel is supported on Dynatrace.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Sebastian K. · Oct 08, 2018 at 05:38 PM

Actually there is no problem with picking entry points. There also is search option like in java and .Net available. The problem is that methods from controller that are responsible for loading data and view/api endpoint are not called. (According to what I see in Purepaths). It looks like code from those methods is load in index.php file by framework and I see incomplete stack trace. In this case Dynatrace mechanism doesn’t work for defining entry points. Because methods which are properly defined are not executed in a way Dynatrace is looking for.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by David N. · Oct 08, 2018 at 04:21 PM

Hello Sebastian,

I don't think there is a way around this for you. As you probably noticed in the Dynatrace documentation currently for PHP you can only specify entry points manually. In order to do this, you need to reference the file that contains the methods that you want to instrument.

https://www.dynatrace.com/support/help/monitor/transactions-and-services/service-monitoring/how-do-i-configure-custom-services/

Thanks,

David Nicholls

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Dynatrace SaaS + PHP - Create Service from all methods in class

Is it possible to raise a problem if service instances count below a configured threshold?

WordPress default database

Charting a web application overall hotspots and DB Timings

Oneagent install on Magento (nginx, php-fpm) causes severe resource increase

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo activegate auto-detection high five award webserver uem usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming linux nam installation error reporting database mission control apache mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A