Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update documentation for configuring docker version #28

Closed
oppianmatt opened this issue Nov 20, 2018 · 3 comments
Closed

update documentation for configuring docker version #28

oppianmatt opened this issue Nov 20, 2018 · 3 comments

Comments

@oppianmatt
Copy link

The README describes how to run a dockerized collector and uses environment variables to configure it. But how do we configure a pganalyze-collector.conf as needed by insights? https://app.pganalyze.com/docs/guides/setup_log_insights_on_self_hosted_server

If we create a local conf and volume mount it where? And will that override any default conf file that is needed?

@mgood
Copy link

mgood commented Nov 28, 2018

#29 may also be of interest since it's requesting the ability to configure everything via environment variables, so you wouldn't need to inject a config file when using Docker.

@lfittl
Copy link
Member

lfittl commented Nov 30, 2018

@oppianmatt Is the database you're looking to monitor in the cloud (e.g. RDS), or an on-premise database?

If its on RDS, all you need to set is PGA_ENABLE_LOGS. If its on-premise, 515202d might be the fix (allowing you to mount a volume that has the log files, and then monitor that), that will be in the next collector release.

I'm also adding a TODO item here to update the documentation, as this is currently confusing to read when using the Docker container.

@lfittl
Copy link
Member

lfittl commented May 21, 2019

This is no longer necessary, as we now automatically enable Log Insights if you are connecting to a supported endpoint (e.g. RDS)

@lfittl lfittl closed this as completed May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants