Skip to content

Commit

Permalink
testing metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
tanneberger committed Jul 25, 2023
1 parent 2166c00 commit 3abcdaf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions modules/data-hoarder/chemo.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{ config, ... }:
{
let
service_number = 3;
in {
TLMS.chemo = {
enable = true;
host = "127.0.0.1";
port = 50053;
port = 50050 + service_number;
database = {
host = "127.0.0.1";
port = config.services.postgresql.port;
Expand Down
6 changes: 3 additions & 3 deletions modules/data-hoarder/socket.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ in
enable = true;
GRPC = {
host = "127.0.0.1";
port = config.TLMS.chemo.port;
port = 50050 + service_number;
};
defaultWebsocket = {
host = "127.0.0.1";
port = 9000 + serice_number;
};
metrics = {
port = 9010;
host = "10.13.37.1";
port = 10010 + serice_number ;
host = "127.0.0.1";
};
};
services = {
Expand Down

0 comments on commit 3abcdaf

Please sign in to comment.