You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
# autometrics-py examples
2
2
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.
4
8
5
9
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:
0 commit comments