-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4934 from jsternberg/hack-grafana
hack: add prometheus and grafana to hack/compose
- Loading branch information
Showing
5 changed files
with
69 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: 1 | ||
datasources: | ||
- name: Prometheus | ||
type: prometheus | ||
access: proxy | ||
url: http://prometheus:9090 | ||
isDefault: true | ||
jsonData: | ||
httpMethod: POST | ||
manageAlerts: false | ||
prometheusType: Prometheus | ||
prometheusVersion: 2.48.1 | ||
# cacheLevel set to none because this is primarily used for development | ||
# where caching is detrimental to the experience and there's not enough | ||
# data where caching is helpful. | ||
cacheLevel: 'None' | ||
disableRecordingRules: false | ||
incrementalQueryOverlapWindow: 10m | ||
exemplarTraceIdDestinations: [] |
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,3 @@ | ||
[security] | ||
admin_user = moby | ||
admin_password = moby |
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,6 @@ | ||
scrape_configs: | ||
- job_name: buildkit | ||
scrape_interval: 1m | ||
static_configs: | ||
- targets: | ||
- "buildkit:6060" |