-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testutil/compose: add monitoring static files (#581)
Adds prometheus/grafana/jaeger monitoring to `compose run` command. The static assets are embedded into the `compose` binary and written to disk on `compose define`. Also rename `NodeOnly` to `Bootnode`. category: feature ticket: #568
- Loading branch information
1 parent
7f3f30b
commit 969dc9a
Showing
13 changed files
with
1,156 additions
and
14 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
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,8 @@ | ||
apiVersion: 1 | ||
|
||
providers: | ||
- name: dashboards | ||
type: file | ||
updateIntervalSeconds: 30 | ||
options: | ||
path: /etc/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,44 @@ | ||
# config file version | ||
apiVersion: 1 | ||
|
||
# list of datasources that should be deleted from the database | ||
deleteDatasources: | ||
- name: Prometheus | ||
orgId: 1 | ||
|
||
# list of datasources to insert/update depending | ||
# whats available in the database | ||
datasources: | ||
# <string, required> name of the datasource. Required | ||
- name: Prometheus | ||
# <string, required> datasource type. Required | ||
type: prometheus | ||
# <int> org id. will default to orgId 1 if not specified | ||
orgId: 1 | ||
# <string> url | ||
url: http://prometheus:9090 | ||
# <string> database password, if used | ||
password: | ||
# <string> database user, if used | ||
user: | ||
# <string> database name, if used | ||
database: | ||
# <bool> enable/disable basic auth | ||
basicAuth: false | ||
# <bool> enable/disable with credentials headers | ||
withCredentials: | ||
# <bool> mark as default datasource. Max one per org | ||
isDefault: true | ||
# <map> fields that will be converted to json and stored in json_data | ||
jsonData: | ||
graphiteVersion: "1.1" | ||
tlsAuth: false | ||
tlsAuthWithCACert: false | ||
# <string> json object of data that will be encrypted. | ||
secureJsonData: | ||
tlsCACert: "..." | ||
tlsClientCert: "..." | ||
tlsClientKey: "..." | ||
version: 1 | ||
# <bool> allow users to edit datasources from the UI. | ||
editable: 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,6 @@ | ||
[auth.anonymous] | ||
enabled = true | ||
org_role = Admin | ||
|
||
[log] | ||
level = warn |
Oops, something went wrong.