# Doc Examples

In this directory you can find:

- `apm`: A practical example of integrating elasticsearch-ruby and [Elastic APM](https://www.elastic.co/apm) with the [Ruby APM Agent](https://github.com/elastic/apm-agent-ruby). See the [the README](https://github.com/elastic/elasticsearch-ruby/tree/master/docs/examples/apm/README.md#observability-example).
- `guide`: Contains the generated Ruby code examples for the [Elasticsearch Reference](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html).
- `percolator`: An example using a percolator in Elasticsearch version 5.x and higher.
- `rabbitmq`: Example of indexing the payload of a RabbitMQ queue.
