Skip to content

Commit c1de211

Browse files
committed
Add information on how to run the examples
1 parent 6a6044c commit c1de211

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# autometrics-py examples
22

3-
You should be able to run each example by executing `python examples/<example>.py` from the root of the repo.
3+
You should be able to run each example by:
4+
5+
- cloning this repository
6+
- run `poetry install --with examples`
7+
- and execute `poetry run python examples/<example>.py` from the root of the repo.
48

59
You can change the base url for Prometheus links via the `PROMETHEUS_URL` environment variable. So, if your local Prometheus were on a non-default port, like 9091, you would run:
610

0 commit comments

Comments
 (0)