-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add all-in-one Docker Compose and Grafana configuration (#997)
Updated docker-compose manifest to easily deploy Yorkie server with configured monitoring tools like Prometheus and Grafana.
Showing
7 changed files
with
76 additions
and
13 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
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,12 @@ | ||
# Grafana Setup Guide | ||
|
||
## Importing Dashboards | ||
|
||
To import dashboards into Grafana, follow these steps: | ||
|
||
1. Open Grafana in your browser ([http://localhost:3000](http://localhost:3000)). | ||
2. Log in with the default credentials (admin/admin). | ||
3. Click "Dashboards" in the left sidebar. | ||
4. Click "New" and then "Import". | ||
5. Use the Yorkie dashboard ID `18560` to import the dashboard. | ||
6. Click "Load" and "Import" and the dashboard will be made. |
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,8 @@ | ||
apiVersion: 1 | ||
|
||
datasources: | ||
- name: Prometheus | ||
type: prometheus | ||
access: proxy | ||
url: http://prometheus:9090 | ||
isDefault: true |
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,21 @@ | ||
[paths] | ||
provisioning = /etc/grafana/provisioning | ||
|
||
[server] | ||
http_port = 3000 | ||
|
||
[security] | ||
admin_user = admin | ||
admin_password = admin | ||
|
||
[users] | ||
allow_sign_up = true | ||
|
||
[auth.anonymous] | ||
enabled = false | ||
|
||
[dashboards] | ||
versions_to_keep = 20 | ||
|
||
[unified_alerting] | ||
enabled = true |
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,7 @@ | ||
scrape_configs: | ||
- job_name: yorkie | ||
metrics_path: /metrics | ||
scrape_interval: 5s | ||
static_configs: | ||
- targets: | ||
- yorkie:8081 |
This file was deleted.
Oops, something went wrong.