Skip to content

Commit a50caf2

Browse files
authored
Fix exporter example docker-compose path (#1691)
1 parent 74a8b90 commit a50caf2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

exporter/opentelemetry-exporter-prometheus-remote-write/example/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ WORKDIR /code
66
COPY . .
77

88
RUN pip install -e .
9-
RUN pip install -r ./examples/requirements.txt
9+
RUN pip install -r ./example/requirements.txt
1010

11-
CMD ["python", "./examples/sampleapp.py"]
11+
CMD ["python", "./example/sampleapp.py"]

exporter/opentelemetry-exporter-prometheus-remote-write/example/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ data
1414
*Users do not need to install Python as the app will be run in the Docker Container*
1515

1616
## Instructions
17-
1. Run `docker-compose up -d` in the the `examples/` directory
17+
1. Run `docker-compose up -d` in the the `example/` directory
1818

1919
The `-d` flag causes all services to run in detached mode and frees up your
2020
terminal session. This also causes no logs to show up. Users can attach themselves to the service's logs manually using `docker logs ${CONTAINER_ID} --follow`
@@ -39,4 +39,4 @@ terminal session. This also causes no logs to show up. Users can attach themselv
3939
* Click the refresh button and data should show up on the graph
4040

4141
6. Shutdown the services when finished
42-
* Run `docker-compose down` in the examples directory
42+
* Run `docker-compose down` in the example directory

exporter/opentelemetry-exporter-prometheus-remote-write/example/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ services:
3030
sample_app:
3131
build:
3232
context: ../
33-
dockerfile: ./examples/Dockerfile
33+
dockerfile: ./example/Dockerfile

0 commit comments

Comments
 (0)