openobserve icon indicating copy to clipboard operation
openobserve copied to clipboard

Postgres config explanantion

Open BigWebstas opened this issue 10 months ago • 3 comments

Describe the problem that you experienced

I am unsure on where this is set? the other ZO entries are env variables but i am confused on where to set the postgres enabled:false part

config:
  ZO_META_STORE: "postgres"
  ZO_META_POSTGRES_DSN: "postgres://postgres:12345678@localhost:5432/openobserve"

postgres:
  enabled: false # disable bundled PostgreSQL

Enter the URL of the topic with the problem

https://openobserve.ai/docs/ha_deployment/

Describe what you were looking for in the documentation

No response

Describe the actions that led you to experience the problem

No response

Describe what you want to experience that would fix the problem

No response

Add a screenshot if that helps illustrate the problem

No response

If this problem caused an exception or error, please paste it here

No response

If the problem is browser-specific, please specify the device, OS, browser, and version

No response

Provide any additional information here in as much as detail as you can

No response

BigWebstas avatar Apr 22 '24 15:04 BigWebstas

in the helm chart values.yaml - https://github.com/openobserve/openobserve-helm-chart/blob/068d9d9cf08c1538994f25305775d56d49f5c7b1/charts/openobserve/values.yaml#L522

prabhatsharma avatar Apr 22 '24 16:04 prabhatsharma

I dont see that particular file in the persistent data directory (running this in docker)

BigWebstas avatar Apr 22 '24 16:04 BigWebstas

postgres:
  enabled: false # disable bundled PostgreSQL

This is only for using our helm chart to deploy, if you are using other solution you need deploy PostgreSQL by yourself.

helm repo add openobserve https://charts.openobserve.ai
helm repo update

kubectl create ns openobserve

helm --namespace openobserve -f values.yaml install o2 openobserve/openobserve

the values file: https://github.com/openobserve/openobserve-helm-chart/blob/main/charts/openobserve/values.yaml

hengfeiyang avatar Apr 24 '24 10:04 hengfeiyang