Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett Beutell committed May 11, 2023
1 parent 07d5503 commit 21f0d76
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Autometrics :heart: FastAPI

An example fastapi app that makes use of autometrics.

## Setup

### Setting up local Prometheus
Expand All @@ -14,9 +18,9 @@ Follow instructions in autometrics-dev. I used Docker:

```sh
docker pull prom/prometheus
# I'm using port 9092 for prometheus because 9090 is already taken on my machine
# I'm using port 8063 for prometheus because 9090 is already taken on my machine
docker run \
-p 9092:9090 \
-p 8063:9090 \
-v /absolute/path/to/this/project/prometheus.yml:/etc/prometheus/prometheus.yml \
prom/prometheus
```
Expand Down Expand Up @@ -49,7 +53,7 @@ Create and activate a virtual env

```sh
python3 -m venv .venv
source env/bin/activate
source .venv/bin/activate
```

Install dependencies
Expand Down

0 comments on commit 21f0d76

Please sign in to comment.