opentelemetry-java/examples/otlp/docker
John Watson 721a7cdf2e
Create a simple example of using the OTLP exporters (#1616)
* Create a simple otlp example, with a docker-compose collector setup.

* Add metrics into the example

* formatting

* remove the go metrics load generator

* remove unneeded pieces of the docker config; switch to using the BSP in the example code.

* Update examples/otlp/docker/otel-collector-config-demo.yaml

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2020-09-02 20:17:24 -07:00
..
.env Create a simple example of using the OTLP exporters (#1616) 2020-09-02 20:17:24 -07:00
README.md Create a simple example of using the OTLP exporters (#1616) 2020-09-02 20:17:24 -07:00
docker-compose.yaml Create a simple example of using the OTLP exporters (#1616) 2020-09-02 20:17:24 -07:00
otel-collector-config-demo.yaml Create a simple example of using the OTLP exporters (#1616) 2020-09-02 20:17:24 -07:00
prometheus.yaml Create a simple example of using the OTLP exporters (#1616) 2020-09-02 20:17:24 -07:00

README.md

OpenTelemetry Collector Demo

IMPORTANT: This uses a pre-released version of the OpenTelemetry Collector.

This demo uses docker-compose and by default runs against the otel/opentelemetry-collector-dev:latest image. To run the demo, switch to this directory and run:

docker-compose up -d

The demo exposes the following backends:

Notes:

  • It may take some time for the application metrics to appear on the Prometheus dashboard;

To clean up any docker container from the demo run docker-compose down from this directory.