-
Notifications
You must be signed in to change notification settings - Fork 4
Various documentation updates #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Is there a reason why this is still a draft PR @richturner? |
Hey @wborn I want to add some additional info about the dashboard and want to combine it with any changes I make in openremote/openremote#1853 |
@@ -0,0 +1,65 @@ | |||
# Metrics | |||
|
|||
Prometheus formatted metrics endpoints can be configured for each container (including the OpenRemote Manager), you will either need Prometheus server running to scrape these endpoints or use a cloud provider service; here's an example using AWs Cloudwatch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prometheus formatted metrics endpoints can be configured for each container (including the OpenRemote Manager), you will either need Prometheus server running to scrape these endpoints or use a cloud provider service; here's an example using AWs Cloudwatch: | |
Prometheus formatted metrics endpoints can be configured for each container (including the OpenRemote Manager), you will either need Prometheus server running to scrape these endpoints or use a cloud provider service; here's an example using AWS Cloudwatch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the documentation with new content for monitoring metrics and enhances the backup/restore instructions for the OpenRemote database.
- Added a comprehensive metrics table for various container components in the user guide
- Enhanced backup instructions with additional options and removed outdated steps in the developer guide
- Introduced a new Bash section demonstrating how to set up an SSH tunnel for accessing HAProxy stats
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
docs/user-guide/metrics.md | New documentation presenting container metrics including detailed tables |
docs/developer-guide/useful-commands-and-queries.md | Updated backup/restore commands and added a Bash section for SSH tunnel guidance |
Prometheus formatted metrics endpoints can be configured for each container (including the OpenRemote Manager), you will either need Prometheus server running to scrape these endpoints or use a cloud provider service; here's an example using AWs Cloudwatch: | ||
|
||
 | ||
_Image of metrics endpoints and AWS Cloudwatch configuration_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in 'AWs Cloudwatch': it should be corrected to 'AWS CloudWatch'.
Prometheus formatted metrics endpoints can be configured for each container (including the OpenRemote Manager), you will either need Prometheus server running to scrape these endpoints or use a cloud provider service; here's an example using AWs Cloudwatch: | |
 | |
_Image of metrics endpoints and AWS Cloudwatch configuration_ | |
Prometheus formatted metrics endpoints can be configured for each container (including the OpenRemote Manager), you will either need Prometheus server running to scrape these endpoints or use a cloud provider service; here's an example using AWS CloudWatch: | |
 | |
_Image of metrics endpoints and AWS CloudWatch configuration_ |
Copilot uses AI. Check for mistakes.
@@ -40,9 +40,10 @@ docker cp <PROJECT_NAME>_postgresql_1:/deployment/datapoints.csv ./ | |||
|
|||
### Backup/Restore OpenRemote DB | |||
|
|||
* Create backup: `docker exec or-postgresql-1 pg_dump -Fc openremote -f /tmp/db.bak` | |||
* Create backup: `docker exec or-postgresql-1 pg_dump -Fc openremote -f /tmp/db.bak` (can also be useful to exclude datapoint records from the backup by using this command `docker exec or-postgresql-1 pg_dump -Fc openremote -f /tmp/db.bak --exclude-table-data='_timescaledb_internal._hyper_*'`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Consider reformatting this long command description by separating the backup command and the additional exclusion note into distinct bullet points or lines to improve readability.
* Create backup: `docker exec or-postgresql-1 pg_dump -Fc openremote -f /tmp/db.bak` (can also be useful to exclude datapoint records from the backup by using this command `docker exec or-postgresql-1 pg_dump -Fc openremote -f /tmp/db.bak --exclude-table-data='_timescaledb_internal._hyper_*'`) | |
* Create backup: `docker exec or-postgresql-1 pg_dump -Fc openremote -f /tmp/db.bak` | |
* Optional: Exclude datapoint records from the backup using the following command: `docker exec or-postgresql-1 pg_dump -Fc openremote -f /tmp/db.bak --exclude-table-data='_timescaledb_internal._hyper_*'` |
Copilot uses AI. Check for mistakes.
No description provided.