hi all, I'm trying out the linux standalone instru...
# general
d
hi all, I'm trying out the linux standalone instructions. It looks like the config options get passed to signoz via environment variables here https://signoz.io/docs/install/linux/#install-signoz. but in the signoz install directory there is a
conf/example.yaml
file which includes additional settings like:
Copy code
web:
  # Whether to enable the web frontend
  enabled: true
  # The prefix to serve web on
  prefix: /
how do we pass that config file to signoz? the only
--config
flag is specific to prometheus
Copy code
-config string
    	(prometheus config to read metrics) (default "./config/prometheus.yml")
ok, I found https://signoz.io/docs/operate/configuration/ and have tried setting
SIGNOZ_WEB_PREFIX=/admin/signoz
but I'm not sure it's doing anything. also the help page above says to follow this link https://github.com/SigNoz/signoz/issues/9805 but it's a 404
v
Hey Dusty, It looks like we put the wrong link in the docs. Here is the actual issue: https://github.com/SigNoz/signoz/issues/6805
We're in the process of migrating to using the
--config
flag with example.yaml as you so intuitively figured out. Till that time, ENV is the only way to configure.
CC @Nagesh Bansal
d
ok, great, thank you. so I should expect
SIGNOZ_WEB_PREFIX
to work? I'll keep poking at it.
v
Yeah, SIGNOZ_WEB_PREFIX should work but unfortunately our frontend does not support it yet. We have put backend support for it prematurely. We should have the frontend working soon for this as well.
d
ah, ok, that makes sense. well I'll keep an eye out, unfortunately I have to run signoz behind a proxy so need a web prefix.
one other comment from the install docs for linux standalone, it looks like all the interactions with clickhouse are using a
password=password
setting but my default clickhouse install, following the instructions linked, results in a clickhouse install with no password. So I could only get the instructions to work by changing, for example:
Copy code
dsn="<tcp://localhost:9000?password=password>"
to
Copy code
dsn="<tcp://localhost:9000>"
unless I missed a step in the install.
v
Yeah that's perfect! Welcome your feedback on the install instructions. We should be clearer.
d
ok, cool, glad to help 🙂