Skip to content

Conversation

@samjewell
Copy link

These are the changes I found I had to make when running this on my Raspberry Pi

These are the changes I found I had to make when running this on my Raspberry Pi
Copy link
Owner

@MiguelNdeCarvalho MiguelNdeCarvalho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just proposed some things that we could improve in my opinion, but give me yours too :D

2. **Enter the repo folder** - `cd speedtest-exporter`
3. **Install python modules** - `pip install -r requirements.tx`
4. **Execute the exporter** - `python src/exporter.py`
3. **Install python modules** - `pip install -r requirements.txt` (or `pip3` if outside a virtual env)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think here we could only use pip3

3. **Install python modules** - `pip install -r requirements.tx`
4. **Execute the exporter** - `python src/exporter.py`
3. **Install python modules** - `pip install -r requirements.txt` (or `pip3` if outside a virtual env)
4. **Execute the exporter** - `python src/exporter.py` (or `python3` if outside a virtual env)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we could use only python3 too

scrape_timeout: 1m
static_configs:
- targets: ['speedtest-exporter:9798']
- targets: ['localhost:9798']
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we explain here, that this localhost is the address from where the exporter is running?

2. **Enter the repo folder** - `cd speedtest-exporter`
3. **Install python modules** - `pip install -r requirements.tx`
4. **Execute the exporter** - `python src/exporter.py`
3. **Install python modules** - `pip install -r requirements.txt` (or `pip3` if outside a virtual env)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should include the src/ prefix here too

Suggested change
3. **Install python modules** - `pip install -r requirements.txt` (or `pip3` if outside a virtual env)
3. **Install python modules** - `pip install -r src/requirements.txt` (or `pip3` if outside a virtual env)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants