-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates for containers config (#362)
* Update dashboard datasources to PROMETHEUS The datasource for containers is named PROMETHEUS. Update dashboards to use the hardcoded name. * Add copyright to prometheus config * Add datasource and dashboard files for containers * Remove redundant labels from prometheus scrape These changes were merged but don't seem to be in main #300 * Add WAL statistics dashboard * Create separate scrape configs for v4 and v5 Update the alertmanater label to match k8s conventions: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels
- Loading branch information
Showing
10 changed files
with
273 additions
and
111 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,16 @@ | ||
### | ||
# | ||
# Copyright © 2017-2023 Crunchy Data Solutions, Inc. All Rights Reserved. | ||
# | ||
### | ||
apiVersion: 1 | ||
|
||
providers: | ||
- name: 'crunchy_dashboards' | ||
orgId: 1 | ||
folder: '' | ||
type: file | ||
disableDeletion: false | ||
updateIntervalSeconds: 3 #how often Grafana will scan for changed dashboards | ||
options: | ||
path: /etc/grafana/provisioning/dashboards |
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,18 @@ | ||
### | ||
# | ||
# Copyright © 2017-2023 Crunchy Data Solutions, Inc. All Rights Reserved. | ||
# | ||
### | ||
|
||
# config file version | ||
apiVersion: 1 | ||
|
||
datasources: | ||
- name: PROMETHEUS | ||
type: prometheus | ||
access: proxy | ||
url: http://$PROM_HOST:$PROM_PORT | ||
isDefault: True | ||
editable: False | ||
orgId: 1 | ||
version: 1 |
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
Oops, something went wrong.