-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into PMM-7-build-devcontainer-with-actions
- Loading branch information
Showing
3 changed files
with
81 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Update Docker Hub Readme | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- build/docker/server/README.md | ||
workflow_dispatch: | ||
|
||
jobs: | ||
updateReadme: | ||
runs-on: ubuntu-latest | ||
environment: Production | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Update Docker Hub Readme for perconalab/pmm-server | ||
uses: peter-evans/dockerhub-description@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
repository: perconalab/pmm-server | ||
readme-filepath: ./build/docker/server/README.md | ||
|
||
- name: Update Docker Hub Readme for percona/pmm-server | ||
uses: peter-evans/dockerhub-description@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
repository: percona/pmm-server | ||
readme-filepath: ./build/docker/server/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# PMM Server | ||
|
||
Percona Monitoring and Management (PMM) is an open source database observability, monitoring, and management tool for MySQL, PostgreSQL, MongoDB and ProxySQL, and their servers. With PMM, you can identify critical performance issues faster, understand the root cause of incidents better, and troubleshoot them more efficiently. | ||
|
||
- The tool allows you to view node to single query performance metrics and explain plans for all of your databases in a single place. | ||
- With Query Analytics, you can quickly locate costly and slow running queries and drill into precise execution details to address bottlenecks. | ||
- Percona Advisors equip you with performance, security and configuration recommendations that help you keep your databases performing at their best. | ||
- Alerting and management features like backup, restore and built-in open source Private DBaaS are designed to increase the velocity of your IT team. | ||
|
||
## Starting PMM Server | ||
|
||
``` | ||
docker pull percona/pmm-server:2 | ||
docker volume create pmm-data | ||
docker run --detach --restart always --publish 443:443 -v pmm-data:/srv --name pmm-server percona/pmm-server:2 | ||
``` | ||
|
||
Point your browser to https://hostname:443 | ||
|
||
This example uses the tag `:2` to pull the latest PMM 2.x version, but other, [more specific tags](https://hub.docker.com/r/percona/pmm-server/tags), are also available. | ||
|
||
## Environment variables | ||
|
||
You can use these environment variables (-e VAR) when running the Docker image. | ||
|
||
| Variable | Description | | ||
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------- | | ||
| DISABLE_UPDATES | Disable automatic updates | | ||
| DISABLE_TELEMETRY | Disable built-in telemetry and disable STT if telemetry is disabled | | ||
| METRICS_RESOLUTION | High metrics resolution in seconds | | ||
| METRICS_RESOLUTION_HR | High metrics resolution (same as above) | | ||
| METRICS_RESOLUTION_MR | Medium metrics resolution in seconds | | ||
| METRICS_RESOLUTION_LR | Low metrics resolution in seconds | | ||
| DATA_RETENTION | How long to keep time-series data in ClickHouse. This variable accepts golang style duration format, example: 24h, 30m, 10s | | ||
| ENABLE_VM_CACHE | Enable cache in VM | | ||
| ENABLE_ALERTING | Enable integrated alerting | | ||
| ENABLE_AZUREDISCOVER | Enable support for discovery of Azure databases | | ||
| ENABLE_BACKUP_MANAGEMENT | Enable integrated backup tools | | ||
| ENABLE_DBAAS | Enable DBaaS features | | ||
| PMM_PUBLIC_ADDRESS | External IP address or the DNS name on which PMM server is running. | | ||
| PMM_DEBUG | Enables a more verbose log level | | ||
| PMM_TRACE | Enables a more verbose log level including traceback information | | ||
|
||
## For more information please visit: | ||
|
||
[Percona Monitoring and Management](https://docs.percona.com/percona-monitoring-and-management) | ||
|
||
[Setting up PMM Server with Docker](https://docs.percona.com/percona-monitoring-and-management/setting-up/server/docker.html) |