-
Notifications
You must be signed in to change notification settings - Fork 9
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 #154 from lidofinance/feat/VAL-460-add-grafana
feat: VAL-460 grafana and dev env
- Loading branch information
Showing
7 changed files
with
1,750 additions
and
24 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,41 @@ | ||
# env from guide | ||
# App | ||
PORT=3003 | ||
|
||
# Log level: debug, info, notice, warning or error | ||
LOG_LEVEL=info | ||
|
||
# Log format: simple or json | ||
LOG_FORMAT=simple | ||
|
||
# Pubsub (default: rabbitmq) | ||
PUBSUB_SERVICE=rabbitmq | ||
|
||
# RabbitMQ | ||
|
||
RABBITMQ_URL=ws://127.0.0.1:15674/ws | ||
RABBITMQ_LOGIN=guest | ||
RABBITMQ_PASSCODE=guest | ||
|
||
|
||
# Private key | ||
# Used to sign transactions and stop the protocol. | ||
# Make sure there are enough ETH on the balance to send a transaction to stop the protocol | ||
WALLET_PRIVATE_KEY="0x0000000000000000000000000000000000000000000000000000000000000001" | ||
|
||
KEYS_API_HOST=http://127.0.0.1 | ||
|
||
# Keys API | ||
KEYS_API_PORT=3002 | ||
|
||
# chain id | ||
# for mainnet 1 | ||
CHAIN_ID=1 | ||
RPC_URL=%NODE_URL% | ||
|
||
# KeysAPI DB config | ||
KEYS_API_DB_NAME=keys_service_db | ||
KEYS_API_DB_PORT=5453 | ||
KEYS_API_DB_HOST=localhost | ||
KEYS_API_DB_USER=postgres | ||
KEYS_API_DB_PASSWORD=postgres |
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,22 @@ | ||
version: '3.7' | ||
|
||
services: | ||
council_daemon_prometheus: | ||
image: prom/prometheus:v2.44.0 | ||
container_name: council_daemon_prometheus | ||
ports: | ||
- 9090:9090 | ||
volumes: | ||
- ./prometheus/:/etc/prometheus/ | ||
command: --config.file=/etc/prometheus/prometheus.yml --enable-feature=remote-write-receiver | ||
|
||
council_daemon_grafana: | ||
image: grafana/grafana-oss:9.1.5 | ||
container_name: council_daemon_grafana | ||
restart: unless-stopped | ||
ports: | ||
- 8001:3000 | ||
volumes: | ||
- ./grafana/datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml | ||
depends_on: | ||
- council_daemon_prometheus |
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,15 @@ | ||
apiVersion: 1 | ||
|
||
datasources: | ||
- name: Prometheus | ||
type: prometheus | ||
access: proxy | ||
orgId: 1 | ||
url: http://docker.for.mac.host.internal:9090 | ||
basicAuth: false | ||
isDefault: true | ||
editable: true | ||
jsonData: | ||
graphiteVersion: '1.1' | ||
tlsAuth: false | ||
tlsAuthWithCACert: false |
Oops, something went wrong.