Skip to content

Commit 3fdde49

Browse files
committed
fixed everything related to the APMs integration
1 parent 120508f commit 3fdde49

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The SDK consists of the following projects:
6767
* `lib/commercetools-history/src`: Contains all generated models and request builders to communicate with the [Change History API](https://docs.commercetools.com/api/history/change-history).
6868

6969
In addition, the SDK has the following directories:
70-
* `examples/symfony-app` : it shows how the PHP SDK can be used in a Symfony application for a Docker environment with NewRelic monitoring enabled.
70+
* `examples/` : One Demo Symfony Application in a Dockerized environment for each APM (NewRelic, Datadog, Dynatrace and OpenTelemetry), which shows how the PHP SDK can be used from the user side.
7171
* `test/integration` : Integration Tests for the SDK. A good way for anyone using the PHP SDK to understand it further.
7272
* `test/unit` : Unit Tests for
7373
* `lib/commercetools-api-tests` : generated unit test for each class for the api folder
@@ -959,6 +959,16 @@ To migrate from the 1.x to the 2.x, there is a guideline below:
959959

960960
To monitor and observe the SDK, see the official documentation [Observability](https://docs.commercetools.com/sdk/observability), there is a [Demo application](https://github.com/commercetools/commercetools-sdk-php-v2/tree/master/examples/symfony-app) which shows how to monitor the PHP SDK with New Relic and Datadog.
961961

962+
To monitor and observe the SDK, refer to the official documentation on [Observability](https://docs.commercetools.com/sdk/observability).
963+
964+
The [Demo application](https://github.com/commercetools/commercetools-sdk-php-v2/tree/master/examples/) demonstrates how to monitor the PHP SDK with the following APMs:
965+
966+
- [New Relic](https://github.com/commercetools/commercetools-sdk-php-v2/tree/master/examples/symfony-app-newrelic)
967+
- [Datadog](https://github.com/commercetools/commercetools-sdk-php-v2/tree/master/examples/symfony-app-datadog)
968+
- [Dynatrace](https://github.com/commercetools/commercetools-sdk-php-v2/tree/master/examples/symfony-app-dynatrace)
969+
- [OpenTelemetry](https://github.com/commercetools/commercetools-sdk-php-v2/tree/master/examples/symfony-app-opentelemetry) (configured to work with New Relic for distributed tracing)
970+
Each APM integration is implemented through configuration and can be easily enabled using the provided instructions in the demo app for each platform.
971+
962972
## Documentation
963973

964974
* [Documentation](https://commercetools.github.io/commercetools-sdk-php-v2/docs/html/index.html)

0 commit comments

Comments
 (0)