# OpenTelemetry (Tracing and Metrics)

<figure><img src="/files/snwW2vMC3TBCKVwScIK4" alt=""><figcaption><p>Trace your flows using OpenTelemetry</p></figcaption></figure>

[**OpenTelemetry**](https://opentelemetry.io/docs/instrumentation/php/) is tracing abstraction to collect and aggregate data such as metrics and traces.\
As OpenTelemetry is tracing abstraction it does not force to use specific Tracing 3rd party. Depending on the needs and preferences, we may choose provides like [DataDog](https://www.datadoghq.com/), [Jaeger](https://www.jaegertracing.io/), [Zipkin](https://zipkin.io/) etc.

**Ecotone** brings full tracing using **OpenTelemetry** to your PHP applications. It will provide details about your Message flows no matter if they are synchronous or asynchronous.

## Materials

### Demo implementation

* [Demo implementation with Symfony and Laravel](https://github.com/ecotoneframework/php-ddd-cqrs-event-sourcing-symfony-laravel-ecotone)

### Links

* [How OpenTelemetry can be used with Ecotone](https://blog.ecotone.tech/tracing-using-opentelemetry/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecotone.tech/modules/opentelemetry-tracing-and-metrics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
