Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Commit

Permalink
make prometheus scrape port configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgrunewald committed May 10, 2022
1 parent cd08913 commit 4d9df2d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/docker-testval.config.src
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
%% we only really need the params below if this file is changed to specify a radio device
%% as without one miner_lora is not started
%% including the params anyway in case someone needs it in this env
{region_override, 'US915'}
{region_override, 'US915'},
{metrics, [block_metrics, grpc_metrics]},
{metrics_port, ${METRICS_PORT:-9090}}
]},
{grpcbox,
[
Expand Down
4 changes: 3 additions & 1 deletion config/docker-val.config.src
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
%% we only really need the params below if this file is changed to specify a radio device
%% as without one miner_lora is not started
%% including the params anyway in case someone needs it in this env
{region_override, 'US915'}
{region_override, 'US915'},
{metrics, [block_metrics, grpc_metrics]},
{metrics_port, ${METRICS_PORT:-9090}}
]},
{grpcbox,
[
Expand Down
2 changes: 2 additions & 0 deletions config/test_val.config.src
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
%% including the params anyway in case someone needs it in this env
{region_override, 'US915'},
{gateway_and_mux_enable, false},
{metrics, [block_metrics, grpc_metrics]},
{metrics_port, ${METRICS_PORT:-9090}},
{seed_validators, [
{"1ZPNnNd9k5qiQXXigKifQpCPiy5HTbszQDSyLM56ywk7ihNRvt6", "18.223.171.149", 8080}, %% test-val2
{"1ZYe21WzqJGkWjXvyEt2c8ALSrufPfjzqfQP2SGy61UJd2h9EbL", "3.17.164.253", 8080}, %% test-val3
Expand Down
2 changes: 2 additions & 0 deletions config/val.config.src
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
{sidecar_parallelism_limit, ${SIDECAR_PARALLELISM_LIMIT:-3}},
{hotfix_dir, "${HOTFIX_DIR:-/opt/miner/hotfix}"},
{update_dir, "${UPDATE_DIR:-/opt/miner/update}"},
{metrics, [block_metrics, grpc_metrics]},
{metrics_port, ${METRICS_PORT:-9090}},
%% these two now disable all the poc stuff
{use_ebus, false},
{radio_device, undefined},
Expand Down

0 comments on commit 4d9df2d

Please sign in to comment.